[]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]

pub fn get_variations(&self) -> Option<String>[src]

pub fn set_variations<'a, T: Into<Option<&'a str>>>(&self, variations: T)[src]

Trait Implementations

impl Clone for FontOptions

impl Debug for FontOptions[src]

impl Default for FontOptions[src]

impl Eq for FontOptions[src]

impl Hash for FontOptions[src]

impl PartialEq<FontOptions> for FontOptions[src]

impl StaticType for FontOptions

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.