[][src]Struct n5::DatasetAttributes

pub struct DatasetAttributes { /* fields omitted */ }

Attributes of a tensor dataset.

Methods

impl DatasetAttributes
[src]

pub fn new(
    dimensions: Vec<i64>,
    block_size: Vec<i32>,
    data_type: DataType,
    compression: CompressionType
) -> DatasetAttributes
[src]

pub fn get_dimensions(&self) -> &[i64]
[src]

pub fn get_block_size(&self) -> &[i32]
[src]

pub fn get_data_type(&self) -> &DataType
[src]

pub fn get_compression(&self) -> &CompressionType
[src]

pub fn get_ndim(&self) -> usize
[src]

pub fn get_num_elements(&self) -> usize
[src]

Get the total number of elements possible given the dimensions.

pub fn get_block_num_elements(&self) -> usize
[src]

Get the total number of elements possible in a block.

pub fn coord_iter(
    &self
) -> impl Iterator<Item = Vec<i64>> + ExactSizeIterator
[src]

Trait Implementations

impl PartialEq<DatasetAttributes> for DatasetAttributes
[src]

impl Clone for DatasetAttributes
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DatasetAttributes
[src]

impl Serialize for DatasetAttributes
[src]

impl<'de> Deserialize<'de> for DatasetAttributes
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]