[−][src]Struct wkb_raster::Raster
Raster data
Fields
endian: Endian
Endinanness, 1:ndr/little endian, 0:xdr/big endian
version: u16
format version (0 for this structure)
scale_x: f64
pixel width in geographical units
scale_y: f64
pixel height in geographical units
ip_x: f64
X ordinate of upper-left pixel's upper-left corner in geographical units
ip_y: f64
Y ordinate of upper-left pixel's upper-left corner in geographical units
skew_x: f64
rotation about Y-axis
skew_y: f64
rotation about X-axis
srid: i32
Spatial reference id
width: u16
Number of pixel columns
height: u16
Number of pixel rows
bands: Vec<RasterBand>
Bands data
Methods
impl Raster
[src]
pub fn to_wkb_string(self) -> String
[src]
Outputs the raster as a Well-Known-Binary string, ready to be used in SQL statements
pub fn from_wkb_string(string_bytes: &[u8]) -> Result<Self, ParseError>
[src]
Trait Implementations
impl Clone for Raster
[src]
impl Debug for Raster
[src]
impl PartialEq<Raster> for Raster
[src]
impl PartialOrd<Raster> for Raster
[src]
fn partial_cmp(&self, other: &Raster) -> Option<Ordering>
[src]
fn lt(&self, other: &Raster) -> bool
[src]
fn le(&self, other: &Raster) -> bool
[src]
fn gt(&self, other: &Raster) -> bool
[src]
fn ge(&self, other: &Raster) -> bool
[src]
impl StructuralPartialEq for Raster
[src]
Auto Trait Implementations
impl RefUnwindSafe for Raster
impl Send for Raster
impl Sync for Raster
impl Unpin for Raster
impl UnwindSafe for Raster
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>,