pub trait BinaryInt:
Copy
+ AddAssign<Self>
+ Eq
+ Debug {
// Required methods
fn zero() -> Self;
fn bits(self) -> Bits<Self> ⓘ;
fn test(self, shift: u32) -> bool;
fn push(&mut self, bit: bool);
fn pop(&mut self);
}Required Methods§
fn zero() -> Self
fn bits(self) -> Bits<Self> ⓘ
fn test(self, shift: u32) -> bool
fn push(&mut self, bit: bool)
fn pop(&mut 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.