[][src]Trait tree_buf::internal::primitive::BatchData

pub trait BatchData: Sized {
    fn read_batch(bytes: &[u8]) -> Vec<Self>;
fn write_batch(items: &[Self], bytes: &mut Vec<u8>); }

Required methods

fn read_batch(bytes: &[u8]) -> Vec<Self>

fn write_batch(items: &[Self], bytes: &mut Vec<u8>)

Loading content...

Implementations on Foreign Types

impl BatchData for usize[src]

impl BatchData for bool[src]

Loading content...

Implementors

impl BatchData for Array[src]

impl BatchData for Opt[src]

impl BatchData for Struct[src]

impl<T: IntFromU64> BatchData for T[src]

Loading content...