pub struct Straight;
Expand description
Straight mode channels are not premultiplied with alpha.
This mode is sometimes called unassociated alpha. To perform compositing, images must be converted to Premultiplied mode.
Trait Implementations
impl Copy for Straight
impl StructuralPartialEq for Straight
Auto Trait Implementations
impl RefUnwindSafe for Straight
impl Send for Straight
impl Sync for Straight
impl Unpin for Straight
impl UnwindSafe for Straight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more