Struct hdf5::Container [−][src]
#[repr(transparent)]pub struct Container(_);
Expand description
An object which can be read or written to.
Implementations
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 Container
impl UnwindSafe for Container
Blanket Implementations
Mutably borrows from an owned value. Read more