pub struct Bit4Row<'a> { /* private fields */ }Expand description
One bounds-validated packed four-bit row borrowed from a mapped region.
from_mapped_region validates an in-bounds offset and length; the
crate-only from_validated_bytes wraps a slice whose persisted range was
already validated. Both retain a borrowed slice, so the stored address is
readable for that slice’s complete length while this handle is alive.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Bit4Row<'a>
impl<'a> RefUnwindSafe for Bit4Row<'a>
impl<'a> Send for Bit4Row<'a>
impl<'a> Sync for Bit4Row<'a>
impl<'a> Unpin for Bit4Row<'a>
impl<'a> UnsafeUnpin for Bit4Row<'a>
impl<'a> UnwindSafe for Bit4Row<'a>
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