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