pub enum CompositeOperation {
Basic(BasicCompositeOperation),
BlendFunc {
src: BlendFactor,
dst: BlendFactor,
},
BlendFuncSeparate {
src_rgb: BlendFactor,
dst_rgb: BlendFactor,
src_alpha: BlendFactor,
dst_alpha: BlendFactor,
},
}Variants§
Trait Implementations§
Source§impl Clone for CompositeOperation
impl Clone for CompositeOperation
Source§fn clone(&self) -> CompositeOperation
fn clone(&self) -> CompositeOperation
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 CompositeOperation
impl Debug for CompositeOperation
Source§impl Into<CompositeOperationState> for CompositeOperation
impl Into<CompositeOperationState> for CompositeOperation
Source§fn into(self) -> CompositeOperationState
fn into(self) -> CompositeOperationState
Converts this type into the (usually inferred) input type.
impl Copy for CompositeOperation
Auto Trait Implementations§
impl Freeze for CompositeOperation
impl RefUnwindSafe for CompositeOperation
impl Send for CompositeOperation
impl Sync for CompositeOperation
impl Unpin for CompositeOperation
impl UnsafeUnpin for CompositeOperation
impl UnwindSafe for CompositeOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more