pub struct WireBool(/* private fields */);Expand description
Boolean wire type stored as a single byte.
0x00 = false, any non-zero = true.
Normalizes to 0x01 on write.
Implementations§
Trait Implementations§
Source§impl FixedLayout for WireBool
impl FixedLayout for WireBool
impl Copy for WireBool
impl Eq for WireBool
impl HopperZeroCopySealed for WireBool
impl Pod for WireBool
Available on crate feature
hopper-native-backend only.impl Pod for WireBool
impl StructuralPartialEq for WireBool
Auto Trait Implementations§
impl Freeze for WireBool
impl RefUnwindSafe for WireBool
impl Send for WireBool
impl Sync for WireBool
impl Unpin for WireBool
impl UnsafeUnpin for WireBool
impl UnwindSafe for WireBool
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.