[][src]Enum hdf5_types::TypeDescriptor

pub enum TypeDescriptor {
    Integer(IntSize),
    Unsigned(IntSize),
    Float(FloatSize),
    Boolean,
    Enum(EnumType),
    Compound(CompoundType),
    FixedArray(Box<TypeDescriptor>, usize),
    FixedAscii(usize),
    FixedUnicode(usize),
    VarLenArray(Box<TypeDescriptor>),
    VarLenAscii,
    VarLenUnicode,
}

Variants

Integer(IntSize)Unsigned(IntSize)Float(FloatSize)BooleanEnum(EnumType)Compound(CompoundType)FixedArray(Box<TypeDescriptor>, usize)FixedAscii(usize)FixedUnicode(usize)VarLenArray(Box<TypeDescriptor>)VarLenAsciiVarLenUnicode

Methods

impl TypeDescriptor[src]

pub fn size(&self) -> usize[src]

pub fn to_c_repr(&self) -> Self[src]

pub fn to_packed_repr(&self) -> Self[src]

Trait Implementations

impl PartialEq<TypeDescriptor> for TypeDescriptor[src]

impl Clone for TypeDescriptor[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for TypeDescriptor[src]

impl Debug for TypeDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]