Struct pix::chan::Premultiplied
source · pub struct Premultiplied;
Expand description
Premultiplied mode channels are associated with alpha.
Premultiplied channels are required for compositing.
Trait Implementations§
source§impl Alpha for Premultiplied
impl Alpha for Premultiplied
source§impl Clone for Premultiplied
impl Clone for Premultiplied
source§fn clone(&self) -> Premultiplied
fn clone(&self) -> Premultiplied
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 Premultiplied
impl Debug for Premultiplied
source§impl Default for Premultiplied
impl Default for Premultiplied
source§fn default() -> Premultiplied
fn default() -> Premultiplied
Returns the “default value” for a type. Read more
source§impl PartialEq<Premultiplied> for Premultiplied
impl PartialEq<Premultiplied> for Premultiplied
source§fn eq(&self, other: &Premultiplied) -> bool
fn eq(&self, other: &Premultiplied) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Premultiplied
impl Eq for Premultiplied
impl StructuralEq for Premultiplied
impl StructuralPartialEq for Premultiplied
Auto Trait Implementations§
impl RefUnwindSafe for Premultiplied
impl Send for Premultiplied
impl Sync for Premultiplied
impl Unpin for Premultiplied
impl UnwindSafe for Premultiplied
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