[−][src]Struct hdf5::Group
Represents the HDF5 group object.
Implementations
impl Group
[src]
pub fn len(&self) -> u64
[src]
Returns the number of objects in the container (or 0 if the container is invalid).
pub fn is_empty(&self) -> bool
[src]
Returns true if the container has no linked objects (or if the container is invalid).
pub fn create_group(&self, name: &str) -> Result<Self>
[src]
Create a new group in a file or group.
pub fn group(&self, name: &str) -> Result<Self>
[src]
Opens an existing group in a file or group.
pub fn link_soft(&self, src: &str, dst: &str) -> Result<()>
[src]
Creates a soft link. Note: src
and dst
are relative to the current object.
pub fn link_hard(&self, src: &str, dst: &str) -> Result<()>
[src]
Creates a hard link. Note: src
and dst
are relative to the current object.
pub fn relink(&self, name: &str, path: &str) -> Result<()>
[src]
Relinks an object. Note: name
and path
are relative to the current object.
pub fn unlink(&self, name: &str) -> Result<()>
[src]
Removes a link to an object from this file or group.
pub fn link_exists(&self, name: &str) -> bool
[src]
Check if a link with a given name exists in this file or group.
pub fn new_dataset<T: H5Type>(&self) -> DatasetBuilder<T>
[src]
Instantiates a new dataset builder.
pub fn dataset(&self, name: &str) -> Result<Dataset>
[src]
Opens an existing dataset in the file or group.
pub fn member_names(&self) -> Result<Vec<String>>
[src]
Returns names of all the members in the group, non-recursively.
Methods from Deref<Target = Location>
pub fn name(&self) -> String
[src]
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).
pub fn filename(&self) -> String
[src]
Returns the name of the file containing the named object (or the file itself).
pub fn file(&self) -> Result<File>
[src]
Returns a handle to the file containing the named object (or the file itself).
pub fn comment(&self) -> Option<String>
[src]
Returns the commment attached to the named object, if any.
pub fn set_comment(&self, comment: &str) -> Result<()>
[src]
Set or the commment attached to the named object.
pub fn clear_comment(&self) -> Result<()>
[src]
Clear the commment attached to the named object.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl !UnwindSafe for Group
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,