pub trait Item {
// Required methods
fn from_slice(slice: &[u8]) -> Self;
fn zero() -> Self;
}Available on crate feature
utils only.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.