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