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
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
Trait Implementations
impl PartialOrd<Operator> for Operator
[src]
impl PartialOrd<Operator> for Operator
fn 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
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl StaticType for Operator
[src]
impl StaticType for Operator
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for Operator
[src]
impl<'a> FromValue<'a> for Operator
unsafe fn from_value(value: &Value) -> Operator
[src]
unsafe fn from_value(value: &Value) -> Operator
impl Clone for Operator
[src]
impl Clone for Operator
fn clone(&self) -> Operator
[src]
fn clone(&self) -> Operator
Returns 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 Debug for Operator
[src]
impl Debug for Operator
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a> FromValueOptional<'a> for Operator
[src]
impl<'a> FromValueOptional<'a> for Operator
unsafe fn from_value_optional(value: &Value) -> Option<Operator>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Operator>
impl SetValue for Operator
[src]
impl SetValue for Operator
impl Copy for Operator
[src]
impl Copy for Operator
impl PartialEq<Operator> for Operator
[src]
impl PartialEq<Operator> for Operator