#[doc(hidden)] trait DisplayInt:
PartialEq
+ PartialOrd
+ Div<Output = Self>
+ Rem<Output = Self>
+ Sub<Output = Self>
+ Copy {
// Required methods
fn zero() -> Self;
fn from_u8(u: u8) -> Self;
fn to_u8(&self) -> u8;
fn to_u64(&self) -> u64;
fn to_u128(&self) -> u128;
}
Required Methods§
fn zero() -> Self
fn from_u8(u: u8) -> Self
fn to_u8(&self) -> u8
fn to_u64(&self) -> u64
fn to_u128(&self) -> u128
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.