pub struct NbyteReader<const NBYTE: usize>;
Expand description
Helper to read a fixed number of big‑endian bytes and return them as usize
.
Implementations§
Source§impl NbyteReader<1>
impl NbyteReader<1>
Source§impl NbyteReader<2>
impl NbyteReader<2>
Auto Trait Implementations§
impl<const NBYTE: usize> Freeze for NbyteReader<NBYTE>
impl<const NBYTE: usize> RefUnwindSafe for NbyteReader<NBYTE>
impl<const NBYTE: usize> Send for NbyteReader<NBYTE>
impl<const NBYTE: usize> Sync for NbyteReader<NBYTE>
impl<const NBYTE: usize> Unpin for NbyteReader<NBYTE>
impl<const NBYTE: usize> UnwindSafe for NbyteReader<NBYTE>
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