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