pub struct RotateOptions {
pub interpolate: VipsInterpolate,
pub background: Vec<f64>,
pub odx: f64,
pub ody: f64,
pub idx: f64,
pub idy: f64,
}Expand description
Options for rotate operation
Fields§
§interpolate: VipsInterpolateinterpolate: VipsInterpolate -> Interpolate pixels with this
background: Vec<f64>background: Vec<f64> -> Background value
odx: f64odx: f64 -> Horizontal output displacement
min: -10000000, max: 10000000, default: 0
ody: f64ody: f64 -> Vertical output displacement
min: -10000000, max: 10000000, default: 0
idx: f64idx: f64 -> Horizontal input displacement
min: -10000000, max: 10000000, default: 0
idy: f64idy: f64 -> Vertical input displacement
min: -10000000, max: 10000000, default: 0
Trait Implementations§
Source§impl Clone for RotateOptions
impl Clone for RotateOptions
Source§fn clone(&self) -> RotateOptions
fn clone(&self) -> RotateOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 RotateOptions
impl Debug for RotateOptions
Auto Trait Implementations§
impl Freeze for RotateOptions
impl RefUnwindSafe for RotateOptions
impl !Send for RotateOptions
impl !Sync for RotateOptions
impl Unpin for RotateOptions
impl UnwindSafe for RotateOptions
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