pub struct TableDataRef<'a, H> { /* private fields */ }Available on crate feature
bytemuck only.Expand description
The bytes of a table whose start holds a header of type H.
The length is checked once, when the reference is made, so reading the header’s fields needs no further bounds checks.
Implementations§
Source§impl<'a, H: AnyBitPattern> TableDataRef<'a, H>
impl<'a, H: AnyBitPattern> TableDataRef<'a, H>
Trait Implementations§
Source§impl<H> Clone for TableDataRef<'_, H>
impl<H> Clone for TableDataRef<'_, H>
impl<H> Copy for TableDataRef<'_, H>
Auto Trait Implementations§
impl<'a, H> Freeze for TableDataRef<'a, H>
impl<'a, H> RefUnwindSafe for TableDataRef<'a, H>
impl<'a, H> Send for TableDataRef<'a, H>
impl<'a, H> Sync for TableDataRef<'a, H>
impl<'a, H> Unpin for TableDataRef<'a, H>
impl<'a, H> UnsafeUnpin for TableDataRef<'a, H>
impl<'a, H> UnwindSafe for TableDataRef<'a, H>
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