[][src]Enum netcdf::attribute::AttrValue

pub enum AttrValue {
    Uchar(u8),
    Uchars(Vec<u8>),
    Schar(i8),
    Schars(Vec<i8>),
    Ushort(u16),
    Ushorts(Vec<u16>),
    Short(i16),
    Shorts(Vec<i16>),
    Uint(u32),
    Uints(Vec<u32>),
    Int(i32),
    Ints(Vec<i32>),
    Ulonglong(u64),
    Ulonglongs(Vec<u64>),
    Longlong(i64),
    Longlongs(Vec<i64>),
    Float(f32),
    Floats(Vec<f32>),
    Double(f64),
    Doubles(Vec<f64>),
    Str(String),
}

Holds the attribute value which can be inserted and returned from the file

Variants

Uchar(u8)
Uchars(Vec<u8>)
Schar(i8)
Schars(Vec<i8>)
Ushort(u16)
Ushorts(Vec<u16>)
Short(i16)
Shorts(Vec<i16>)
Uint(u32)
Uints(Vec<u32>)
Int(i32)
Ints(Vec<i32>)
Ulonglong(u64)
Ulonglongs(Vec<u64>)
Longlong(i64)
Longlongs(Vec<i64>)
Float(f32)
Floats(Vec<f32>)
Double(f64)
Doubles(Vec<f64>)
Str(String)

Trait Implementations

impl Clone for AttrValue[src]

impl Debug for AttrValue[src]

impl<'_> From<&'_ str> for AttrValue[src]

impl From<String> for AttrValue[src]

impl From<Vec<f32>> for AttrValue[src]

impl From<Vec<f64>> for AttrValue[src]

impl From<Vec<i16>> for AttrValue[src]

impl From<Vec<i32>> for AttrValue[src]

impl From<Vec<i64>> for AttrValue[src]

impl From<Vec<i8>> for AttrValue[src]

impl From<Vec<u16>> for AttrValue[src]

impl From<Vec<u32>> for AttrValue[src]

impl From<Vec<u64>> for AttrValue[src]

impl From<Vec<u8>> for AttrValue[src]

impl From<f32> for AttrValue[src]

impl From<f64> for AttrValue[src]

impl From<i16> for AttrValue[src]

impl From<i32> for AttrValue[src]

impl From<i64> for AttrValue[src]

impl From<i8> for AttrValue[src]

impl From<u16> for AttrValue[src]

impl From<u32> for AttrValue[src]

impl From<u64> for AttrValue[src]

impl From<u8> for AttrValue[src]

impl PartialEq<AttrValue> for AttrValue[src]

impl StructuralPartialEq for AttrValue[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.