[−][src]Enum wkb_raster::RasterDataSource
Source of the raster data bytes + pixel type definition
Variants
Offline(OfflineRasterData)
Pixel values are stored in an file
InMemory(InMemoryRasterData)
Pixels values, row after row, so pix[0] is upper-left, pix[w-1],is upper-right. As for endiannes, it is specified at the start of WKB, and up to 8bits (bit-order is most significant first)
Methods
impl RasterDataSource
[src]
pub fn is_offline(&self) -> bool
[src]
Returns true
if the item is a Offline { .. }
item
pub fn get_pixtype(&self) -> PixType
[src]
Trait Implementations
impl Clone for RasterDataSource
[src]
fn clone(&self) -> RasterDataSource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RasterDataSource
[src]
impl PartialEq<RasterDataSource> for RasterDataSource
[src]
fn eq(&self, other: &RasterDataSource) -> bool
[src]
fn ne(&self, other: &RasterDataSource) -> bool
[src]
impl PartialOrd<RasterDataSource> for RasterDataSource
[src]
fn partial_cmp(&self, other: &RasterDataSource) -> Option<Ordering>
[src]
fn lt(&self, other: &RasterDataSource) -> bool
[src]
fn le(&self, other: &RasterDataSource) -> bool
[src]
fn gt(&self, other: &RasterDataSource) -> bool
[src]
fn ge(&self, other: &RasterDataSource) -> bool
[src]
impl StructuralPartialEq for RasterDataSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for RasterDataSource
impl Send for RasterDataSource
impl Sync for RasterDataSource
impl Unpin for RasterDataSource
impl UnwindSafe for RasterDataSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,