[][src]Enum wkb_raster::PixType

#[repr(u16)]pub enum PixType {
    Bool1Bit(Option<bool>),
    UInt2(Option<u8>),
    UInt4(Option<u8>),
    Int8(Option<i8>),
    UInt8(Option<u8>),
    Int16(Option<i16>),
    UInt16(Option<u16>),
    Int32(Option<i32>),
    UInt32(Option<u32>),
    Float32(Option<f32>),
    Float64(Option<f64>),
}

Pixel type + optional nodata value

Variants

Bool1Bit(Option<bool>)
UInt2(Option<u8>)
UInt4(Option<u8>)
Int8(Option<i8>)
UInt8(Option<u8>)
Int16(Option<i16>)
UInt16(Option<u16>)
Int32(Option<i32>)
UInt32(Option<u32>)
Float32(Option<f32>)
Float64(Option<f64>)

Methods

impl PixType[src]

pub fn has_nodata_value(&self) -> bool[src]

Trait Implementations

impl Clone for PixType[src]

impl Copy for PixType[src]

impl Debug for PixType[src]

impl PartialEq<PixType> for PixType[src]

impl PartialOrd<PixType> for PixType[src]

impl StructuralPartialEq for PixType[src]

Auto Trait Implementations

impl RefUnwindSafe for PixType

impl Send for PixType

impl Sync for PixType

impl Unpin for PixType

impl UnwindSafe for PixType

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.