Enum cairo_sys::enums::PatternType [−][src]
#[repr(C)]pub enum PatternType { Solid, Surface, LinearGradient, RadialGradient, Mesh, RasterSource, }
Variants
SolidSurfaceLinearGradientRadialGradientMeshRasterSource
Trait Implementations
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)Performs copy-assignment from source. Read more
impl PartialEq for PatternType[src]
impl PartialEq 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) -> boolThis method tests for !=.
impl PartialOrd for PatternType[src]
impl PartialOrd 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) -> boolThis 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) -> boolThis 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) -> boolThis 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) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for PatternType[src]
impl Debug for PatternTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for PatternType[src]
impl Copy for 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<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for PatternType[src]
impl<'a> FromValue<'a> for PatternTypeunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for PatternType[src]
impl SetValue for PatternTypeAuto Trait Implementations
impl Send for PatternType
impl Send for PatternTypeimpl Sync for PatternType
impl Sync for PatternType