pub trait SbInt:
Copy
+ Eq
+ PartialOrd<Self>
+ AddAssign<Self>
+ Add<Self, Output = Self>
+ Mul<Self, Output = Self>
+ Display {
const ZERO: Self;
const ONE: Self;
const SIGNED: bool;
// Required methods
fn lt1(self, other: Self) -> bool;
fn avg(self, other: Self) -> Self;
fn abs(self) -> Self;
fn neg(self) -> Self;
fn steps(self, from: (Self, Self), to: (Self, Self)) -> Self;
}Required Associated Constants§
Required Methods§
fn lt1(self, other: Self) -> bool
fn avg(self, other: Self) -> Self
fn abs(self) -> Self
fn neg(self) -> Self
fn steps(self, from: (Self, Self), to: (Self, Self)) -> Self
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.