pub struct ConvsepOptions {
pub precision: Precision,
pub layers: i32,
pub cluster: i32,
}
Expand description
Options for convsep operation
Fields§
§precision: Precision
precision: Precision
-> Convolve with this precision
Integer
-> VIPS_PRECISION_INTEGER = 0
Float
-> VIPS_PRECISION_FLOAT = 1 [DEFAULT]
Approximate
-> VIPS_PRECISION_APPROXIMATE = 2
Last
-> VIPS_PRECISION_LAST = 3
layers: i32
layers: i32
-> Use this many layers in approximation
min: 1, max: 1000, default: 5
cluster: i32
cluster: i32
-> Cluster lines closer than this in approximation
min: 1, max: 100, default: 1
Trait Implementations§
Source§impl Clone for ConvsepOptions
impl Clone for ConvsepOptions
Source§fn clone(&self) -> ConvsepOptions
fn clone(&self) -> ConvsepOptions
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 ConvsepOptions
impl Debug for ConvsepOptions
Auto Trait Implementations§
impl Freeze for ConvsepOptions
impl RefUnwindSafe for ConvsepOptions
impl Send for ConvsepOptions
impl Sync for ConvsepOptions
impl Unpin for ConvsepOptions
impl UnwindSafe for ConvsepOptions
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