Struct Cpl
#[repr(transparent)]pub struct Cpl(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Cpl
impl Cpl
pub const ONESCOMPLEMENT: Self
pub const ONESCOMPLEMENT: Self
1’s complement representation
pub const TWOSCOMPLEMENT: Self
pub const TWOSCOMPLEMENT: Self
2’s complement representation
Trait Implementations§
§impl Ord for Cpl
impl Ord for Cpl
§impl PartialOrd for Cpl
impl PartialOrd for Cpl
impl Copy for Cpl
impl Eq for Cpl
impl StructuralPartialEq for Cpl
Auto Trait Implementations§
impl Freeze for Cpl
impl RefUnwindSafe for Cpl
impl Send for Cpl
impl Sync for Cpl
impl Unpin for Cpl
impl UnwindSafe for Cpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more