Struct hdf5::Group[][src]

#[repr(transparent)]
pub struct Group(_);
Expand description

Represents the HDF5 group object.

Implementations

Returns the number of objects in the container (or 0 if the container is invalid).

Returns true if the container has no linked objects (or if the container is invalid).

Create a new group in a file or group.

Opens an existing group in a file or group.

Creates a soft link.

A soft link does not require the linked object to exist. Note: target and link_name are relative to the current object.

Creates a hard link. Note: target and link_name are relative to the current object.

Creates an external link.

Note: link_name is relative to the current object, target is relative to the root of the source file, target_file_name is the path to the external file.

For a detailed explanation on how target_file_name is resolved, see https://portal.hdfgroup.org/display/HDF5/H5L_CREATE_EXTERNAL

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.

Instantiates a new typed dataset builder.

Instantiates a new dataset builder.

Opens an existing dataset in the file or group.

Iteration methods

Visits all objects in the group

Visits all objects in the group using default iteration/traversal order.

Returns all groups in the group, non-recursively

Returns all datasets in the group, non-recursively

Returns all named types in the group, non-recursively

Returns the names of all objects in the group, non-recursively.

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

Set or the commment attached to the named object.

👎 Deprecated:

attributes are preferred to comments

Clear the commment attached to the named object.

Methods from Deref<Target = Object>

Returns reference count if the handle is valid and 0 otherwise.

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.

Downcast the object into $tp if possible.

Downcast the object into $tp if possible.

Downcast the object into $tp if possible.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.