pub struct Pod<T: Pod + Zeroable>(/* private fields */);Expand description
Archives a type by copying its raw bytes. Endianness is conserved when the value is stored.
Trait Implementations§
source§impl<T: Pod + Zeroable> DataConverter for Pod<T>
impl<T: Pod + Zeroable> DataConverter for Pod<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Pod<T>where T: RefUnwindSafe,
impl<T> Send for Pod<T>where T: Send,
impl<T> Sync for Pod<T>where T: Sync,
impl<T> Unpin for Pod<T>where T: Unpin,
impl<T> UnwindSafe for Pod<T>where T: 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