[][src]Struct hdf5::Group

#[repr(transparent)]pub struct 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.

Creates a soft link. Note: src and dst are relative to the current object.

Creates a hard link. Note: src and dst are relative to the current object.

Relinks an object. Note: name and path are relative to the current object.

Removes a link to an object from this file or group.

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

impl Clone for Group[src]

impl Debug for Group[src]

impl Deref for Group[src]

type Target = Location

The resulting type after dereferencing.

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.