[][src]Struct hdf5::DatasetBuilder

pub struct DatasetBuilder<T> { /* fields omitted */ }

Implementations

impl<T: H5Type> DatasetBuilder<T>[src]

pub fn new(parent: &Group) -> Self[src]

Create a new dataset builder and bind it to the parent container.

pub fn packed(&mut self, packed: bool) -> &mut Self[src]

pub fn fill_value(&mut self, fill_value: T) -> &mut Self[src]

pub fn no_chunk(&mut self) -> &mut Self[src]

Disable chunking.

pub fn chunk_auto(&mut self) -> &mut Self[src]

Enable automatic chunking only if chunking is required (default option).

pub fn chunk_infer(&mut self) -> &mut Self[src]

Enable chunking with automatic chunk shape.

pub fn chunk<D: Dimension>(&mut self, chunk: D) -> &mut Self[src]

Set chunk shape manually.

pub fn filters(&mut self, filters: &Filters) -> &mut Self[src]

Set the filters.

pub fn track_times(&mut self, track_times: bool) -> &mut Self[src]

Enable or disable tracking object modification time (disabled by default).

pub fn resizable(&mut self, resizable: bool) -> &mut Self[src]

Make the dataset resizable along all axes (requires chunking).

pub fn gzip(&mut self, level: u8) -> &mut Self[src]

Enable gzip compression with a specified level (0-9).

pub fn szip(&mut self, nn: bool, level: u8) -> &mut Self[src]

Enable szip compression with a specified method (EC, NN) and level (0-32).

If nn if set to true (default), the nearest neighbor method is used, otherwise the method is set to entropy coding.

pub fn shuffle(&mut self, shuffle: bool) -> &mut Self[src]

Enable or disable shuffle filter.

pub fn fletcher32(&mut self, fletcher32: bool) -> &mut Self[src]

Enable or disable fletcher32 filter.

pub fn scale_offset(&mut self, scale_offset: u32) -> &mut Self[src]

Enable scale-offset filter with a specified factor (0 means automatic).

pub fn create<D: Dimension>(&self, name: &str, shape: D) -> Result<Dataset>[src]

Create the dataset and link it into the file structure.

pub fn create_anon<D: Dimension>(&self, shape: D) -> Result<Dataset>[src]

Create an anonymous dataset without linking it.

Trait Implementations

impl<T: Clone> Clone for DatasetBuilder<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for DatasetBuilder<T>[src]

impl<T> Send for DatasetBuilder<T> where
    T: Send
[src]

impl<T> Sync for DatasetBuilder<T> where
    T: Sync
[src]

impl<T> Unpin for DatasetBuilder<T> where
    T: Unpin
[src]

impl<T> !UnwindSafe for DatasetBuilder<T>[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.