pub struct Group<'f> { /* private fields */ }Expand description
A lightweight handle to an HDF5 group.
Implementations§
Source§impl<'f> Group<'f>
impl<'f> Group<'f>
Sourcepub fn attrs(&self) -> Result<HashMap<String, AttrValue>, Error>
pub fn attrs(&self) -> Result<HashMap<String, AttrValue>, Error>
Read all attributes of this group.
Sourcepub fn dataset(&self, name: &str) -> Result<Dataset<'f>, Error>
pub fn dataset(&self, name: &str) -> Result<Dataset<'f>, Error>
Get a dataset within this group by name.
The dataset uses the file-wide chunk-cache default. To override the cache
for this one dataset, use
dataset_with_options.
Sourcepub fn dataset_with_options(
&self,
name: &str,
options: DatasetAccessOptions,
) -> Result<Dataset<'f>, Error>
pub fn dataset_with_options( &self, name: &str, options: DatasetAccessOptions, ) -> Result<Dataset<'f>, Error>
Get a dataset within this group by name, applying per-dataset
DatasetAccessOptions that override file-wide access defaults (HDF5’s
DAPL; see H5Pset_chunk_cache).
Auto Trait Implementations§
impl<'f> !RefUnwindSafe for Group<'f>
impl<'f> !UnwindSafe for Group<'f>
impl<'f> Freeze for Group<'f>
impl<'f> Send for Group<'f>
impl<'f> Sync for Group<'f>
impl<'f> Unpin for Group<'f>
impl<'f> UnsafeUnpin for Group<'f>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more