Struct libvips::ops::ConvaOptions
source · pub struct ConvaOptions {
pub layers: i32,
pub cluster: i32,
}
Expand description
Options for conva operation
Fields§
§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 ConvaOptions
impl Clone for ConvaOptions
source§fn clone(&self) -> ConvaOptions
fn clone(&self) -> ConvaOptions
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 ConvaOptions
impl Debug for ConvaOptions
Auto Trait Implementations§
impl RefUnwindSafe for ConvaOptions
impl Send for ConvaOptions
impl Sync for ConvaOptions
impl Unpin for ConvaOptions
impl UnwindSafe for ConvaOptions
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