[][src]Trait xblend::blend::Xor

pub trait Xor {
    type Output;
    pub fn xor(self, rhs: Self) -> Self::Output;
}

Xor blending mode
output = src * (1 - dst.alpha) + dst * (1 - src.alpha)

Associated Types

Loading content...

Required methods

pub fn xor(self, rhs: Self) -> Self::Output[src]

Loading content...

Implementors

impl Xor for RGBA<f32>[src]

type Output = RGBA<f32>

Loading content...