Enum cairo::enums::Operator [−][src]
#[repr(C)]pub enum Operator { Clear, Source, Over, In, Out, Atop, Dest, DestOver, DestIn, DestOut, DestAtop, Xor, Add, Saturate, Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion, HslHue, HslSaturation, HslColor, HslLuminosity, }
Variants
ClearSourceOverInOutAtopDestDestOverDestInDestOutDestAtopXorAddSaturateMultiplyScreenOverlayDarkenLightenColorDodgeColorBurnHardLightSoftLightDifferenceExclusionHslHueHslSaturationHslColorHslLuminosity
Trait Implementations
impl<'a> FromValue<'a> for Operator[src]
impl<'a> FromValue<'a> for Operatorunsafe fn from_value(value: &Value) -> Operator[src]
unsafe fn from_value(value: &Value) -> Operatorimpl StaticType for Operator[src]
impl StaticType for Operatorfn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for Operator[src]
impl<'a> FromValueOptional<'a> for Operatorunsafe fn from_value_optional(value: &Value) -> Option<Operator>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Operator>impl PartialEq<Operator> for Operator[src]
impl PartialEq<Operator> for Operatorfn eq(&self, other: &Operator) -> bool[src]
fn eq(&self, other: &Operator) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl SetValue for Operator[src]
impl SetValue for Operatorimpl Clone for Operator[src]
impl Clone for Operatorfn clone(&self) -> Operator[src]
fn clone(&self) -> OperatorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialOrd<Operator> for Operator[src]
impl PartialOrd<Operator> for Operatorfn partial_cmp(&self, other: &Operator) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Operator) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0
[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0
[src]This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0
[src]This method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0
[src]This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Copy for Operator[src]
impl Copy for Operatorimpl Debug for Operator[src]
impl Debug for Operator