Skip to main content

ChtInt

Trait ChtInt 

Source
pub trait ChtInt:
    Copy
    + Ord
    + Default
    + Debug {
    // Required methods
    fn oo() -> Self;
    fn right(self, b: Self, line1: (Self, Self)) -> Self;
    fn on_line(self, line: (Self, Self)) -> Self;
    fn simplify(self) -> i8;
}

Required Methods§

Source

fn oo() -> Self

Source

fn right(self, b: Self, line1: (Self, Self)) -> Self

Source

fn on_line(self, line: (Self, Self)) -> Self

Source

fn simplify(self) -> i8

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ChtInt for i8

Source§

fn oo() -> i8

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Source§

impl ChtInt for i16

Source§

fn oo() -> i16

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Source§

impl ChtInt for i32

Source§

fn oo() -> i32

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Source§

impl ChtInt for i64

Source§

fn oo() -> i64

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Source§

impl ChtInt for i128

Source§

fn oo() -> i128

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Source§

impl ChtInt for isize

Source§

fn oo() -> isize

Source§

fn right(self, b: Self, (ar, br): (Self, Self)) -> Self

Source§

fn on_line(self, (a, b): (Self, Self)) -> Self

Source§

fn simplify(self) -> i8

Implementors§