Trait hdf5_rs::Object
[−]
[src]
pub trait Object: ID { fn refcount(&self) -> u32 { ... } fn is_valid(&self) -> bool { ... } fn id_type(&self) -> H5I_type_t { ... } }
A trait for all HDF5 objects that can be referenced through an identifier.
Provided Methods
fn refcount(&self) -> u32
Returns reference count if the handle is valid and 0 otherwise.
fn is_valid(&self) -> bool
Returns true
if the object has a valid unlocked identifier (false
for pre-defined
locked identifiers like property list classes).
fn id_type(&self) -> H5I_type_t
Returns type of the object.