pub struct ReducehOptions {
pub kernel: Kernel,
pub gap: f64,
}
Expand description
Options for reduceh 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 ReducehOptions
impl Clone for ReducehOptions
Source§fn clone(&self) -> ReducehOptions
fn clone(&self) -> ReducehOptions
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 ReducehOptions
impl Debug for ReducehOptions
Auto Trait Implementations§
impl Freeze for ReducehOptions
impl RefUnwindSafe for ReducehOptions
impl Send for ReducehOptions
impl Sync for ReducehOptions
impl Unpin for ReducehOptions
impl UnwindSafe for ReducehOptions
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