[−][src]Struct hdf5::Datatype
Represents the HDF5 datatype object.
Implementations
impl Datatype
[src]
pub fn size(&self) -> usize
[src]
Get the total size of the datatype in bytes.
pub fn byte_order(&self) -> ByteOrder
[src]
Get the byte order of the datatype.
pub fn conv_path<D>(&self, dst: D) -> Option<Conversion> where
D: Borrow<Self>,
[src]
D: Borrow<Self>,
pub fn conv_to<T: H5Type>(&self) -> Option<Conversion>
[src]
pub fn conv_from<T: H5Type>(&self) -> Option<Conversion>
[src]
pub fn is<T: H5Type>(&self) -> bool
[src]
pub fn to_descriptor(&self) -> Result<TypeDescriptor>
[src]
pub fn from_type<T: H5Type>() -> Result<Self>
[src]
pub fn from_descriptor(desc: &TypeDescriptor) -> Result<Self>
[src]
Methods from Deref<Target = Object>
pub fn id(&self) -> hid_t
[src]
pub fn refcount(&self) -> u32
[src]
Returns reference count if the handle is valid and 0 otherwise.
pub fn is_valid(&self) -> bool
[src]
Returns true
if the object has a valid unlocked identifier (false
for pre-defined
locked identifiers like property list classes).
pub fn id_type(&self) -> H5I_type_t
[src]
Returns type of the object.
Trait Implementations
impl Clone for Datatype
[src]
impl Debug for Datatype
[src]
impl Deref for Datatype
[src]
impl PartialEq<Datatype> for Datatype
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Datatype
impl Send for Datatype
impl Sync for Datatype
impl Unpin for Datatype
impl !UnwindSafe for Datatype
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,