Enum cairo::FontWeight [−][src]
#[repr(C)]pub enum FontWeight { Normal, Bold, }
Variants
NormalBold
Trait Implementations
impl<'a> FromValue<'a> for FontWeight[src]
impl<'a> FromValue<'a> for FontWeightunsafe fn from_value(value: &Value) -> FontWeight[src]
unsafe fn from_value(value: &Value) -> FontWeightimpl StaticType for FontWeight[src]
impl StaticType for FontWeightfn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for FontWeight[src]
impl<'a> FromValueOptional<'a> for FontWeightunsafe fn from_value_optional(value: &Value) -> Option<FontWeight>[src]
unsafe fn from_value_optional(value: &Value) -> Option<FontWeight>impl PartialEq<FontWeight> for FontWeight[src]
impl PartialEq<FontWeight> for FontWeightfn eq(&self, other: &FontWeight) -> bool[src]
fn eq(&self, other: &FontWeight) -> 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 FontWeight[src]
impl SetValue for FontWeightunsafe fn set_value(value: &mut Value, this: &FontWeight)[src]
unsafe fn set_value(value: &mut Value, this: &FontWeight)impl Clone for FontWeight[src]
impl Clone for FontWeightfn clone(&self) -> FontWeight[src]
fn clone(&self) -> FontWeightReturns 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<FontWeight> for FontWeight[src]
impl PartialOrd<FontWeight> for FontWeightfn partial_cmp(&self, other: &FontWeight) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &FontWeight) -> 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 FontWeight[src]
impl Copy for FontWeightimpl Debug for FontWeight[src]
impl Debug for FontWeightAuto Trait Implementations
impl Send for FontWeight
impl Send for FontWeightimpl Sync for FontWeight
impl Sync for FontWeight