Enum cairo::enums::PatternType [−][src]
#[repr(C)]pub enum PatternType { Solid, Surface, LinearGradient, RadialGradient, Mesh, RasterSource, }
Variants
SolidSurfaceLinearGradientRadialGradientMeshRasterSource
Trait Implementations
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 StaticType for PatternType[src]
impl StaticType for PatternTypefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
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 PartialEq<PatternType> for PatternType[src]
impl PartialEq<PatternType> for PatternTypefn eq(&self, other: &PatternType) -> bool[src]
fn eq(&self, other: &PatternType) -> 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 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 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 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
#[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 PatternType[src]
impl Copy for PatternTypeimpl Debug for PatternType[src]
impl Debug for PatternTypeAuto Trait Implementations
impl Send for PatternType
impl Send for PatternTypeimpl Sync for PatternType
impl Sync for PatternType