Trait sokoban::node_allocator::FromSlice
source · pub trait FromSlice {
// Required method
fn new_from_slice(data: &mut [u8]) -> &mut Self;
}
Expand description
This is a convenience trait that exposes an interface to read a struct from an arbitrary byte array