Enum cairo_sys::enums::FontType [−][src]
#[repr(C)]pub enum FontType { FontTypeToy, FontTypeFt, FontTypeWin32, FontTypeQuartz, FontTypeUser, }
Variants
FontTypeToy
FontTypeFt
FontTypeWin32
FontTypeQuartz
FontTypeUser
Trait Implementations
impl Clone for FontType
[src]
impl Clone for FontType
fn clone(&self) -> FontType
[src]
fn clone(&self) -> FontType
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 FontType
[src]
impl PartialEq for FontType
fn eq(&self, other: &FontType) -> bool
[src]
fn eq(&self, other: &FontType) -> 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 FontType
[src]
impl PartialOrd for FontType
fn partial_cmp(&self, other: &FontType) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &FontType) -> 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 FontType
[src]
impl Debug for FontType
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 FontType
[src]
impl Copy for FontType
impl StaticType for FontType
[src]
impl StaticType for FontType
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for FontType
[src]
impl<'a> FromValueOptional<'a> for FontType
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for FontType
[src]
impl<'a> FromValue<'a> for FontType
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for FontType
[src]
impl SetValue for FontType