pub enum BlendValue {
SourceColor,
SourceAlpha,
DestColor,
DestAlpha,
ConstColor,
ConstAlpha,
}Variants§
Trait Implementations§
Source§impl Clone for BlendValue
impl Clone for BlendValue
Source§fn clone(&self) -> BlendValue
fn clone(&self) -> BlendValue
Returns a duplicate 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 BlendValue
impl Debug for BlendValue
Source§impl Hash for BlendValue
impl Hash for BlendValue
Source§impl Ord for BlendValue
impl Ord for BlendValue
Source§fn cmp(&self, other: &BlendValue) -> Ordering
fn cmp(&self, other: &BlendValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlendValue
impl PartialEq for BlendValue
Source§impl PartialOrd for BlendValue
impl PartialOrd for BlendValue
impl Copy for BlendValue
impl Eq for BlendValue
impl StructuralPartialEq for BlendValue
Auto Trait Implementations§
impl Freeze for BlendValue
impl RefUnwindSafe for BlendValue
impl Send for BlendValue
impl Sync for BlendValue
impl Unpin for BlendValue
impl UnwindSafe for BlendValue
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