[−][src]Trait n5::DataBlock
Common interface for data blocks of element (rust) type T
.
To enable custom types to be written to N5 volumes, implement this trait.
Required methods
fn get_size(&self) -> &[i32]
fn get_grid_position(&self) -> &[i64]
fn get_data(&self) -> &Vec<T>
fn get_num_elements(&self) -> i32
Implementors
impl<T: Clone> DataBlock<T> for VecDataBlock<T> where
VecDataBlock<T>: ReadableDataBlock + WriteableDataBlock,
[src]
impl<T: Clone> DataBlock<T> for VecDataBlock<T> where
VecDataBlock<T>: ReadableDataBlock + WriteableDataBlock,