pub struct Group { /* private fields */ }Expand description
A group within an HDF5 file.
Implementations§
Source§impl Group
impl Group
Sourcepub fn file_data(&self) -> Result<StorageBuffer>
pub fn file_data(&self) -> Result<StorageBuffer>
Materialize the full file backing this group.
Sourcepub fn offset_size(&self) -> u8
pub fn offset_size(&self) -> u8
Size of file offsets in bytes.
Sourcepub fn length_size(&self) -> u8
pub fn length_size(&self) -> u8
Size of file lengths in bytes.
Sourcepub fn members(&self) -> Result<(Vec<Group>, Vec<Dataset>)>
pub fn members(&self) -> Result<(Vec<Group>, Vec<Dataset>)>
List all child members, partitioned into groups and datasets.
Sourcepub fn attributes(&self) -> Result<Vec<Attribute>>
pub fn attributes(&self) -> Result<Vec<Attribute>>
List attributes on this group.
pub fn child_name_by_address(&self, address: u64) -> Result<Option<String>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Group
impl !RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl !UnwindSafe for Group
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more