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