[][src]Enum wkb_raster::RasterDataSource

pub enum RasterDataSource {
    Offline(OfflineRasterData),
    InMemory(InMemoryRasterData),
}

Source of the raster data bytes + pixel type definition

Variants

Pixel values are stored in an file

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]

impl Debug for RasterDataSource[src]

impl PartialEq<RasterDataSource> for RasterDataSource[src]

impl PartialOrd<RasterDataSource> for RasterDataSource[src]

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