pub enum BlendMode {
Normal,
Multiply,
Screen,
Overlay,
}Expand description
Blend modes for color composition
Variants§
Normal
Normal blend mode (no blending)
Multiply
Multiply blend mode (darkens)
Screen
Screen blend mode (lightens)
Overlay
Overlay blend mode (combines multiply and screen)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnsafeUnpin for BlendMode
impl UnwindSafe for BlendMode
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