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>,
},
}Expand description
In-memory raster data with nodata value and
Variants§
Implementations§
Source§impl InMemoryRasterData
impl InMemoryRasterData
Sourcepub fn get_pixtype(&self) -> PixType
pub fn get_pixtype(&self) -> PixType
Returns the pixtype of the InMemoryRasterData
Trait Implementations§
Source§impl Clone for InMemoryRasterData
impl Clone for InMemoryRasterData
Source§fn clone(&self) -> InMemoryRasterData
fn clone(&self) -> InMemoryRasterData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryRasterData
impl Debug for InMemoryRasterData
Source§impl PartialEq for InMemoryRasterData
impl PartialEq for InMemoryRasterData
Source§impl PartialOrd for InMemoryRasterData
impl PartialOrd for InMemoryRasterData
impl StructuralPartialEq for InMemoryRasterData
Auto Trait Implementations§
impl Freeze for InMemoryRasterData
impl RefUnwindSafe for InMemoryRasterData
impl Send for InMemoryRasterData
impl Sync for InMemoryRasterData
impl Unpin for InMemoryRasterData
impl UnwindSafe for InMemoryRasterData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more