Enum hdf5_rs::Datatype [] [src]

pub enum Datatype {
    Integer(IntegerDatatype),
    Float(FloatDatatype),
}

Represents the HDF5 datatype object.

Variants

Integer(IntegerDatatype)Float(FloatDatatype)

Trait Implementations

impl AnyDatatype for Datatype
[src]

fn size(&self) -> usize

Get the total size of the datatype in bytes.

impl Object for Datatype
[src]

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). Read more

fn id_type(&self) -> H5I_type_t

Returns type of the object.

impl PartialEq for Datatype
[src]

fn eq(&self, other: &Datatype) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Datatype
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Datatype
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.