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
Source§impl Serialize for Blend
impl Serialize for Blend
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Blend
Auto Trait Implementations§
impl Forget for Blend
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