Trait from_bytes::StructFromBytes [−][src]
pub trait StructFromBytes<T: PackedSize = Self>: PackedSize {
fn from_bytes(slice: &[u8], offset: usize) -> Result<Box<Self>>;
}
pub trait StructFromBytes<T: PackedSize = Self>: PackedSize {
fn from_bytes(slice: &[u8], offset: usize) -> Result<Box<Self>>;
}