[]Struct cairo::FontOptions

pub struct FontOptions(_);

Methods

impl FontOptions[src]

pub fn new() -> FontOptions[src]

pub unsafe fn from_raw_full(ptr: *mut cairo_font_options_t) -> FontOptions[src]

pub fn to_raw_none(&self) -> *mut cairo_font_options_t[src]

pub fn ensure_status(&self)[src]

pub fn merge(&mut self, other: &FontOptions)[src]

pub fn set_antialias(&mut self, antialias: Antialias)[src]

pub fn get_antialias(&self) -> Antialias[src]

pub fn set_subpixel_order(&mut self, order: SubpixelOrder)[src]

pub fn get_subpixel_order(&self) -> SubpixelOrder[src]

pub fn set_hint_style(&mut self, hint_style: HintStyle)[src]

pub fn get_hint_style(&self) -> HintStyle[src]

pub fn set_hint_metrics(&mut self, hint_metrics: HintMetrics)[src]

pub fn get_hint_metrics(&self) -> HintMetrics[src]

Trait Implementations

impl PartialEq<FontOptions> for FontOptions[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for FontOptions[src]

impl Default for FontOptions[src]

impl Clone for FontOptions

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Hash for FontOptions[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for FontOptions[src]

impl StaticType for FontOptions

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]