Struct libvips_rs::ops::FindTrimOptions
source · pub struct FindTrimOptions {
pub threshold: f64,
pub background: Vec<f64>,
}
Expand description
Options for find_trim operation
Fields§
§threshold: f64
threshold: f64
-> Object threshold
min: 0, max: inf, default: 10
background: Vec<f64>
background: Vec<f64>
-> Color for background pixels
Trait Implementations§
source§impl Clone for FindTrimOptions
impl Clone for FindTrimOptions
source§fn clone(&self) -> FindTrimOptions
fn clone(&self) -> FindTrimOptions
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 FindTrimOptions
impl Debug for FindTrimOptions
Auto Trait Implementations§
impl RefUnwindSafe for FindTrimOptions
impl Send for FindTrimOptions
impl Sync for FindTrimOptions
impl Unpin for FindTrimOptions
impl UnwindSafe for FindTrimOptions
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