pub struct WarpOptions {
pub method: ResamplingMethod,
pub nodata: f64,
}Fields§
§method: ResamplingMethod§nodata: f64Fill value for output pixels whose source projection falls outside the source extent. Defaults to 0 (works for most U8/U16/I16 imagery; for DEMs you may want NaN-equivalent).
Trait Implementations§
Source§impl Clone for WarpOptions
impl Clone for WarpOptions
Source§fn clone(&self) -> WarpOptions
fn clone(&self) -> WarpOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WarpOptions
impl Debug for WarpOptions
Auto Trait Implementations§
impl Freeze for WarpOptions
impl RefUnwindSafe for WarpOptions
impl Send for WarpOptions
impl Sync for WarpOptions
impl Unpin for WarpOptions
impl UnsafeUnpin for WarpOptions
impl UnwindSafe for WarpOptions
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