[]Struct cairo::FontOptions

pub struct FontOptions(_);


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

impl RefUnwindSafe for FontOptions

impl !Send for FontOptions

impl !Sync for FontOptions

impl Unpin for FontOptions

impl UnwindSafe for FontOptions

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.