pub struct BlendEquation {
pub source: BlendFactor,
pub destination: BlendFactor,
pub op: BlendOp,
}Expand description
op(src * source, dst * destination).
Fields§
§source: BlendFactorThe factor the incoming (source) value is multiplied by.
destination: BlendFactorThe factor the value already in the target is multiplied by.
op: BlendOpHow the two products are combined.
Trait Implementations§
Source§impl Clone for BlendEquation
impl Clone for BlendEquation
Source§fn clone(&self) -> BlendEquation
fn clone(&self) -> BlendEquation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlendEquation
Source§impl Debug for BlendEquation
impl Debug for BlendEquation
impl Eq for BlendEquation
Source§impl Hash for BlendEquation
impl Hash for BlendEquation
Source§impl PartialEq for BlendEquation
impl PartialEq for BlendEquation
Source§impl Serialize for BlendEquation
impl Serialize for BlendEquation
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 BlendEquation
Auto Trait Implementations§
impl Forget for BlendEquation
impl Freeze for BlendEquation
impl RefUnwindSafe for BlendEquation
impl Send for BlendEquation
impl Sync for BlendEquation
impl Unpin for BlendEquation
impl UnsafeUnpin for BlendEquation
impl UnwindSafe for BlendEquation
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