[][src]Trait n5::ReinitDataBlock

pub trait ReinitDataBlock<T> {
    fn reinitialize(&mut self, header: BlockHeader);
fn reinitialize_with<B: DataBlock<T>>(&mut self, other: &B); }

Traits for data blocks that can be reused as a different blocks after construction.

Required methods

fn reinitialize(&mut self, header: BlockHeader)

Reinitialize this data block with a new header, reallocating as necessary.

fn reinitialize_with<B: DataBlock<T>>(&mut self, other: &B)

Reinitialize this data block with the header and data of another block.

Loading content...

Implementors

impl<T: ReflectedType> ReinitDataBlock<T> for VecDataBlock<T>[src]

Loading content...