Enum cairo::enums::PatternType [−][src]
#[repr(C)]pub enum PatternType { Solid, Surface, LinearGradient, RadialGradient, }
Variants
Solid
Surface
LinearGradient
RadialGradient
Trait Implementations
impl PartialOrd<PatternType> for PatternType
[src]
impl PartialOrd<PatternType> for PatternType
fn partial_cmp(&self, other: &PatternType) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PatternType) -> 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 PatternType
[src]
impl StaticType for PatternType
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValue<'a> for PatternType
[src]
impl<'a> FromValue<'a> for PatternType
unsafe fn from_value(value: &Value) -> PatternType
[src]
unsafe fn from_value(value: &Value) -> PatternType
impl Clone for PatternType
[src]
impl Clone for PatternType
fn clone(&self) -> PatternType
[src]
fn clone(&self) -> PatternType
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 PatternType
[src]
impl Debug for PatternType
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 PatternType
[src]
impl<'a> FromValueOptional<'a> for PatternType
unsafe fn from_value_optional(value: &Value) -> Option<PatternType>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<PatternType>
impl SetValue for PatternType
[src]
impl SetValue for PatternType
unsafe fn set_value(value: &mut Value, this: &PatternType)
[src]
unsafe fn set_value(value: &mut Value, this: &PatternType)
impl Copy for PatternType
[src]
impl Copy for PatternType
impl PartialEq<PatternType> for PatternType
[src]
impl PartialEq<PatternType> for PatternType
Auto Trait Implementations
impl Send for PatternType
impl Send for PatternType
impl Sync for PatternType
impl Sync for PatternType