Trait alkahest::Pack [−][src]
pub trait Pack<T: Schema> { fn pack(self, offset: usize, output: &mut [u8]) -> (Packed<T>, usize); }
Expand description
Trait for packable types that match specified Schema
.
Required methods
Implementors
impl<I, T> Pack<Seq<T>> for I where
T: Schema,
I: IntoIterator,
I::IntoIter: ExactSizeIterator,
I::Item: Pack<T>,