pub trait Sealed: Copy {
type Unsigned: Integer;
// Required methods
fn as_unsigned(self) -> (bool, Self::Unsigned);
fn eq_zero(self) -> bool;
fn div_mod_10(&mut self) -> u8;
}
Required Associated Types§
Required Methods§
fn as_unsigned(self) -> (bool, Self::Unsigned)
fn eq_zero(self) -> bool
fn div_mod_10(&mut self) -> u8
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.