[][src]Enum wkb_raster::InMemoryRasterData

pub enum InMemoryRasterData {
    Bool1Bit {
        data: Vec<Vec<bool>>,
        nodata: Option<bool>,
    },
    UInt2 {
        data: Vec<Vec<u8>>,
        nodata: Option<u8>,
    },
    UInt4 {
        data: Vec<Vec<u8>>,
        nodata: Option<u8>,
    },
    Int8 {
        data: Vec<Vec<i8>>,
        nodata: Option<i8>,
    },
    UInt8 {
        data: Vec<Vec<u8>>,
        nodata: Option<u8>,
    },
    Int16 {
        data: Vec<Vec<i16>>,
        nodata: Option<i16>,
    },
    UInt16 {
        data: Vec<Vec<u16>>,
        nodata: Option<u16>,
    },
    Int32 {
        data: Vec<Vec<i32>>,
        nodata: Option<i32>,
    },
    UInt32 {
        data: Vec<Vec<u32>>,
        nodata: Option<u32>,
    },
    Float32 {
        data: Vec<Vec<f32>>,
        nodata: Option<f32>,
    },
    Float64 {
        data: Vec<Vec<f64>>,
        nodata: Option<f64>,
    },
}

In-memory raster data with nodata value and

Variants

Bool1Bit

Fields of Bool1Bit

data: Vec<Vec<bool>>nodata: Option<bool>
UInt2

Fields of UInt2

data: Vec<Vec<u8>>nodata: Option<u8>
UInt4

Fields of UInt4

data: Vec<Vec<u8>>nodata: Option<u8>
Int8

Fields of Int8

data: Vec<Vec<i8>>nodata: Option<i8>
UInt8

Fields of UInt8

data: Vec<Vec<u8>>nodata: Option<u8>
Int16

Fields of Int16

data: Vec<Vec<i16>>nodata: Option<i16>
UInt16

Fields of UInt16

data: Vec<Vec<u16>>nodata: Option<u16>
Int32

Fields of Int32

data: Vec<Vec<i32>>nodata: Option<i32>
UInt32

Fields of UInt32

data: Vec<Vec<u32>>nodata: Option<u32>
Float32

Fields of Float32

data: Vec<Vec<f32>>nodata: Option<f32>
Float64

Fields of Float64

data: Vec<Vec<f64>>nodata: Option<f64>

Methods

impl InMemoryRasterData[src]

pub fn get_pixtype(&self) -> PixType[src]

Returns the pixtype of the InMemoryRasterData

Trait Implementations

impl Clone for InMemoryRasterData[src]

impl Debug for InMemoryRasterData[src]

impl PartialEq<InMemoryRasterData> for InMemoryRasterData[src]

impl PartialOrd<InMemoryRasterData> for InMemoryRasterData[src]

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