Enum cairo_sys::enums::FontSlant [−][src]
#[repr(C)]pub enum FontSlant { Normal, Italic, Oblique, }
Variants
Normal
Italic
Oblique
Trait Implementations
impl Clone for FontSlant
[src]
impl Clone for FontSlant
fn clone(&self) -> FontSlant
[src]
fn clone(&self) -> FontSlant
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)
Performs copy-assignment from source
. Read more
impl PartialEq for FontSlant
[src]
impl PartialEq for FontSlant
fn eq(&self, other: &FontSlant) -> bool
[src]
fn eq(&self, other: &FontSlant) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for FontSlant
[src]
impl PartialOrd for FontSlant
fn partial_cmp(&self, other: &FontSlant) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &FontSlant) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
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) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for FontSlant
[src]
impl Debug for FontSlant
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for FontSlant
[src]
impl Copy for FontSlant
impl StaticType for FontSlant
[src]
impl StaticType for FontSlant
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for FontSlant
[src]
impl<'a> FromValueOptional<'a> for FontSlant
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for FontSlant
[src]
impl<'a> FromValue<'a> for FontSlant
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for FontSlant
[src]
impl SetValue for FontSlant