Struct cairo::FontFace[][src]

pub struct FontFace(_);

Implementations

impl FontFace[src]

pub fn toy_create(
    family: &str,
    slant: FontSlant,
    weight: FontWeight
) -> FontFace
[src]

pub unsafe fn from_raw_full(ptr: *mut cairo_font_face_t) -> FontFace[src]

pub unsafe fn from_raw_none(ptr: *mut cairo_font_face_t) -> FontFace[src]

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

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

pub fn toy_get_slant(&self) -> FontSlant[src]

pub fn toy_get_weight(&self) -> FontWeight[src]

pub fn ensure_status(&self)[src]

pub fn get_type(&self) -> FontType[src]

pub fn get_reference_count(&self) -> usize[src]

pub fn get_synthesize(&self) -> FtSynthesize[src]

pub fn set_synthesize(&self, synth_flags: FtSynthesize)[src]

pub fn unset_synthesize(&self, synth_flags: FtSynthesize)[src]

Trait Implementations

impl Clone for FontFace[src]

impl Debug for FontFace[src]

impl StaticType for FontFace[src]

Auto Trait Implementations

impl RefUnwindSafe for FontFace

impl !Send for FontFace

impl !Sync for FontFace

impl Unpin for FontFace

impl UnwindSafe for FontFace

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