#[repr(transparent)]pub struct LeBool(pub [u8; 1]);Expand description
Alignment-1 boolean for on-chain ABI fields.
Stored as a single byte: 0 = false, any non-zero = true.
Tuple Fields§
§0: [u8; 1]Implementations§
Trait Implementations§
Source§impl FixedLayout for LeBool
impl FixedLayout for LeBool
impl Copy for LeBool
impl Eq for LeBool
impl Pod for LeBool
impl StructuralPartialEq for LeBool
Auto Trait Implementations§
impl Freeze for LeBool
impl RefUnwindSafe for LeBool
impl Send for LeBool
impl Sync for LeBool
impl Unpin for LeBool
impl UnsafeUnpin for LeBool
impl UnwindSafe for LeBool
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