Struct gdal_sys::GDALRasterIOExtraArg[][src]

#[repr(C)]
pub struct GDALRasterIOExtraArg { pub nVersion: c_int, pub eResampleAlg: Type, pub pfnProgress: GDALProgressFunc, pub pProgressData: *mut c_void, pub bFloatingPointWindowValidity: c_int, pub dfXOff: f64, pub dfYOff: f64, pub dfXSize: f64, pub dfYSize: f64, }

Structure to pass extra arguments to RasterIO() method @since GDAL 2.0

Fields

nVersion: c_int

Version of structure (to allow future extensions of the structure)

eResampleAlg: Type

Resampling algorithm

pfnProgress: GDALProgressFunc

Progress callback

pProgressData: *mut c_void

Progress callback user data

bFloatingPointWindowValidity: c_int

Indicate if dfXOff, dfYOff, dfXSize and dfYSize are set. Mostly reserved from the VRT driver to communicate a more precise source window. Must be such that dfXOff - nXOff < 1.0 and dfYOff - nYOff < 1.0 and nXSize - dfXSize < 1.0 and nYSize - dfYSize < 1.0

dfXOff: f64

Pixel offset to the top left corner. Only valid if bFloatingPointWindowValidity = TRUE

dfYOff: f64

Line offset to the top left corner. Only valid if bFloatingPointWindowValidity = TRUE

dfXSize: f64

Width in pixels of the area of interest. Only valid if bFloatingPointWindowValidity = TRUE

dfYSize: f64

Height in pixels of the area of interest. Only valid if bFloatingPointWindowValidity = TRUE

Trait Implementations

impl Clone for GDALRasterIOExtraArg[src]

impl Copy for GDALRasterIOExtraArg[src]

impl Debug for GDALRasterIOExtraArg[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.