[][src]Enum netcdf::types::BasicType

pub enum BasicType {
    Byte,
    Ubyte,
    Short,
    Ushort,
    Int,
    Uint,
    Int64,
    Uint64,
    Float,
    Double,
}

Basic numeric types

Variants

Byte

Signed 1 byte integer

Ubyte

Unsigned 1 byte integer

Short

Signed 2 byte integer

Ushort

Unsigned 2 byte integer

Int

Signed 4 byte integer

Uint

Unsigned 4 byte integer

Int64

Signed 8 byte integer

Uint64

Unsigned 8 byte integer

Float

Single precision floating point number

Double

Double precision floating point number

Implementations

impl BasicType[src]

pub fn name(self) -> &'static str[src]

rusty name of the type

impl BasicType[src]

pub fn is_i8(self) -> bool[src]

pub fn is_u8(self) -> bool[src]

pub fn is_i16(self) -> bool[src]

pub fn is_u16(self) -> bool[src]

pub fn is_i32(self) -> bool[src]

pub fn is_u32(self) -> bool[src]

pub fn is_i64(self) -> bool[src]

pub fn is_u64(self) -> bool[src]

pub fn is_f32(self) -> bool[src]

pub fn is_f64(self) -> bool[src]

Trait Implementations

impl Clone for BasicType[src]

impl Copy for BasicType[src]

impl Debug for BasicType[src]

impl Into<VariableType> for BasicType[src]

impl PartialEq<BasicType> for BasicType[src]

impl StructuralPartialEq for BasicType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.