pub trait ZeroCopy<'a, T: Pod>where
Self: Pod,{
// Provided methods
fn load(data: &'a [u8]) -> &'a Self { ... }
fn load_mut(data: &'a mut [u8]) -> &'a mut Self { ... }
}Expand description
Trait to represent types with zero-copy deserialization.
Provided Methods§
Object Safety§
This trait is not object safe.