Struct zerocopy::TrailingSliceLayout
source · pub(crate) struct TrailingSliceLayout<E = usize> {
pub(crate) _offset: usize,
pub(crate) _elem_size: E,
}
Fields§
§_offset: usize
§_elem_size: E
Auto Trait Implementations§
impl<E> Freeze for TrailingSliceLayout<E>where
E: Freeze,
impl<E> RefUnwindSafe for TrailingSliceLayout<E>where
E: RefUnwindSafe,
impl<E> Send for TrailingSliceLayout<E>where
E: Send,
impl<E> Sync for TrailingSliceLayout<E>where
E: Sync,
impl<E> Unpin for TrailingSliceLayout<E>where
E: Unpin,
impl<E> UnwindSafe for TrailingSliceLayout<E>where
E: UnwindSafe,
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