Enum cairo::enums::PatternType [−][src]
#[repr(C)]pub enum PatternType { Solid, Surface, LinearGradient, RadialGradient, }
Variants
SolidSurfaceLinearGradientRadialGradient
Trait Implementations
impl PartialOrd<PatternType> for PatternType[src]
impl PartialOrd<PatternType> for PatternTypefn 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) -> bool1.0.0[src]
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
fn le(&self, other: &Rhs) -> bool1.0.0[src]
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
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
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
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
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 StaticType for PatternType[src]
impl StaticType for PatternTypefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValue<'a> for PatternType[src]
impl<'a> FromValue<'a> for PatternTypeunsafe fn from_value(value: &Value) -> PatternType[src]
unsafe fn from_value(value: &Value) -> PatternTypeimpl Clone for PatternType[src]
impl Clone for PatternTypefn clone(&self) -> PatternType[src]
fn clone(&self) -> PatternTypeReturns 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 PatternTypefn 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 PatternTypeunsafe 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 PatternTypeunsafe 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 PatternTypeimpl PartialEq<PatternType> for PatternType[src]
impl PartialEq<PatternType> for PatternTypeAuto Trait Implementations
impl Send for PatternType
impl Send for PatternTypeimpl Sync for PatternType
impl Sync for PatternType