[−][src]Struct hdf5::DatasetBuilder
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]
fn clone(&self) -> DatasetBuilder<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for DatasetBuilder<T>
[src]
impl<T> Send for DatasetBuilder<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for DatasetBuilder<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for DatasetBuilder<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> !UnwindSafe for DatasetBuilder<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,