pub struct ReducevOptions {
pub kernel: Kernel,
pub gap: f64,
}
Expand description
Options for reducev operation
Fields§
§kernel: Kernel
kernel: Kernel
-> Resampling kernel
Nearest
-> VIPS_KERNEL_NEAREST = 0
Linear
-> VIPS_KERNEL_LINEAR = 1
Cubic
-> VIPS_KERNEL_CUBIC = 2
Mitchell
-> VIPS_KERNEL_MITCHELL = 3
Lanczos2
-> VIPS_KERNEL_LANCZOS2 = 4
Lanczos3
-> VIPS_KERNEL_LANCZOS3 = 5 [DEFAULT]
Last
-> VIPS_KERNEL_LAST = 6
gap: f64
gap: f64
-> Reducing gap
min: 0, max: 1000000, default: 0
Trait Implementations§
Source§impl Clone for ReducevOptions
impl Clone for ReducevOptions
Source§fn clone(&self) -> ReducevOptions
fn clone(&self) -> ReducevOptions
Returns a copy 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 ReducevOptions
impl Debug for ReducevOptions
Auto Trait Implementations§
impl Freeze for ReducevOptions
impl RefUnwindSafe for ReducevOptions
impl Send for ReducevOptions
impl Sync for ReducevOptions
impl Unpin for ReducevOptions
impl UnwindSafe for ReducevOptions
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