pub struct WireU16(/* private fields */);Expand description
16-bit unsigned little-endian wire integer.
Implementations§
Trait Implementations§
Source§impl FixedLayout for WireU16
impl FixedLayout for WireU16
Source§impl Ord for WireU16
impl Ord for WireU16
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WireU16
impl PartialOrd for WireU16
impl Copy for WireU16
impl Eq for WireU16
impl HopperZeroCopySealed for WireU16
impl Pod for WireU16
Available on crate feature
hopper-native-backend only.impl Pod for WireU16
impl StructuralPartialEq for WireU16
Auto Trait Implementations§
impl Freeze for WireU16
impl RefUnwindSafe for WireU16
impl Send for WireU16
impl Sync for WireU16
impl Unpin for WireU16
impl UnsafeUnpin for WireU16
impl UnwindSafe for WireU16
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.