Struct hdf5::Dataset [−][src]
#[repr(transparent)]pub struct Dataset(_);
Expand description
Represents the HDF5 dataset object.
Implementations
Returns a copy of the dataset access property list.
A short alias for access_plist()
.
Returns a copy of the dataset creation property list.
A short alias for create_plist()
.
Returns true
if this dataset is resizable along at least one axis.
Returns true
if this dataset has a chunked layout.
Returns the number of chunks if the dataset is chunked.
Retrieves the chunk information for the chunk specified by its index.
Returns the absolute byte offset of the dataset in the file if such offset is defined (which is not the case for datasets that are chunked, compact or not allocated yet).
Returns default fill value for the dataset if such value is set.
Methods from Deref<Target = Container>
Creates a reader wrapper for this dataset/attribute, allowing to set custom type conversion options when reading.
Creates a writer wrapper for this dataset/attribute, allowing to set custom type conversion options when writing.
Returns the amount of file space required for the dataset/attribute. Note that this only accounts for the space which has actually been allocated (it can be equal to zero).
Reads a dataset/attribute into an n-dimensional array.
If the array has a fixed number of dimensions, it must match the dimensionality of the dataset/attribute.
Reads a dataset/attribute into a vector in memory order.
Reads a dataset/attribute into a 1-dimensional array.
The dataset/attribute must be 1-dimensional.
Reads the given slice
of the dataset into a 1-dimensional array.
The slice must yield a 1-dimensional result.
Reads a dataset/attribute into a 2-dimensional array.
The dataset/attribute must be 2-dimensional.
Reads the given slice
of the dataset into a 2-dimensional array.
The slice must yield a 2-dimensional result.
Reads a dataset/attribute into an array with dynamic number of dimensions.
Reads a slice of an n-dimensional array.
If the dimensionality D
has a fixed number of dimensions, it must match the dimensionality of
the slice, after singleton dimensions are dropped.
Use the multi-dimensional slice macro s![]
from ndarray
to conveniently create
a multidimensional slice.
Reads a scalar dataset/attribute.
Writes an n-dimensional array view into a dataset/attribute.
The shape of the view must match the shape of the dataset/attribute exactly. The input argument must be convertible to an array view (this includes slices).
Writes a 1-dimensional array view into a dataset/attribute in memory order.
The number of elements in the view must match the number of elements in the destination dataset/attribute. The input argument must be convertible to a 1-dimensional array view (this includes slices).
Writes all data from the array arr
into the given slice
of the target dataset.
The shape of arr
must match the shape the set of elements included in the slice.
If the array has a fixed number of dimensions, it must match the dimensionality of
dataset. Use the multi-dimensional slice macro s![]
from ndarray
to conveniently create
a multidimensional slice.
Methods from Deref<Target = Location>
Returns the name of the object within the file, or empty string if the object doesn’t have a name (e.g., an anonymous dataset).
Returns the name of the file containing the named object (or the file itself).
Returns a handle to the file containing the named object (or the file itself).
Returns the commment attached to the named object, if any.
👎 Deprecated: attributes are preferred to comments
attributes are preferred to comments
Set or the commment attached to the named object.
👎 Deprecated: attributes are preferred to comments
attributes are preferred to comments
Clear the commment attached to the named object.
Methods from Deref<Target = Object>
Returns true
if the object has a valid unlocked identifier (false
for pre-defined
locked identifiers like property list classes).
Returns type of the object.
Downcast the object into $tp if possible.
Downcast the object into $tp if possible.
Downcast the object into $tp if possible.
Downcast the object into $tp if possible.
Downcast the object into $tp if possible.
Downcast the object into $tp if possible.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dataset
impl UnwindSafe for Dataset
Blanket Implementations
Mutably borrows from an owned value. Read more