pub trait Item {
// Required methods
fn from_slice(slice: &[u8]) -> Self;
fn zero() -> Self;
}
Expand description
Represents items that can be read by an Accessor
.
Required Methods§
sourcefn from_slice(slice: &[u8]) -> Self
fn from_slice(slice: &[u8]) -> Self
Create an object of this type from a byte slice.
Object Safety§
This trait is not object safe.