pub enum Blend {
Opacity(f32),
Add,
}Expand description
How an effect’s layer meets what is under it.
Variants§
Opacity(f32)
Drawn over it at an opacity.
Add
Added to it, color and alpha alike, so two fills in such layers that meet edge to edge sum to exactly what is in them, with no seam.
Trait Implementations§
impl Copy for Blend
impl StructuralPartialEq for Blend
Auto Trait Implementations§
impl Freeze for Blend
impl RefUnwindSafe for Blend
impl Send for Blend
impl Sync for Blend
impl Unpin for Blend
impl UnsafeUnpin for Blend
impl UnwindSafe for Blend
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