pub struct LeU16;Expand description
Little-endian u16 codec.
Trait Implementations§
impl Copy for LeU16
impl Eq for LeU16
Source§impl FixedCodec for LeU16
impl FixedCodec for LeU16
Source§type Value<'wire> = u16
where
Self: 'wire
type Value<'wire> = u16 where Self: 'wire
Semantic value represented by an exact-width wire representation.
Source§type EncodeError = Infallible
type EncodeError = Infallible
Error returned while preparing an encoded value.
Source§impl Ord for LeU16
impl Ord for LeU16
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 LeU16
impl PartialOrd for LeU16
impl StructuralPartialEq for LeU16
Auto Trait Implementations§
impl Freeze for LeU16
impl RefUnwindSafe for LeU16
impl Send for LeU16
impl Sync for LeU16
impl Unpin for LeU16
impl UnsafeUnpin for LeU16
impl UnwindSafe for LeU16
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