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
impl 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
impl StructuralPartialEq for BlendEquation
Auto Trait Implementations§
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