Trait hdf5_rs::prelude::AtomicDatatype
[−]
[src]
pub trait AtomicDatatype: ID { fn is_be(&self) -> bool { ... } fn is_le(&self) -> bool { ... } fn offset(&self) -> usize { ... } fn precision(&self) -> usize { ... } }
A trait for atomic scalar datatypes.
Provided Methods
fn is_be(&self) -> bool
Returns true if the datatype byte order is big endian.
fn is_le(&self) -> bool
Returns true if the datatype byte order is little endian.
fn offset(&self) -> usize
Get the offset of the first significant bit.
fn precision(&self) -> usize
Get the number of significant bits, excluding padding.