pub struct FlattenOptions {
pub background: Vec<f64>,
pub max_alpha: f64,
}
Expand description
Options for flatten operation
Fields§
§background: Vec<f64>
background: Vec<f64>
-> Background value
max_alpha: f64
max_alpha: f64
-> Maximum value of alpha channel
min: 0, max: 100000000, default: 255
Trait Implementations§
Source§impl Clone for FlattenOptions
impl Clone for FlattenOptions
Source§fn clone(&self) -> FlattenOptions
fn clone(&self) -> FlattenOptions
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 FlattenOptions
impl Debug for FlattenOptions
Auto Trait Implementations§
impl Freeze for FlattenOptions
impl RefUnwindSafe for FlattenOptions
impl Send for FlattenOptions
impl Sync for FlattenOptions
impl Unpin for FlattenOptions
impl UnwindSafe for FlattenOptions
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