pub struct Blend {
pub colour: BlendEquation,
pub alpha: BlendEquation,
}Expand description
Blending of the colour and the alpha channel.
Fields§
§colour: BlendEquationThe equation for the red, green and blue channels.
alpha: BlendEquationThe equation for the alpha channel.
Trait Implementations§
impl Copy for Blend
impl Eq 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