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§
source§impl PartialEq<Straight> for Straight
impl PartialEq<Straight> for Straight
impl Copy for Straight
impl Eq for Straight
impl StructuralEq 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§
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