Struct cairo::FontFace [−]
pub struct FontFace(_);
Methods
impl FontFace[src]
impl FontFacepub fn toy_create(
family: &str,
slant: FontSlant,
weight: FontWeight
) -> FontFace[src]
pub fn toy_create(
family: &str,
slant: FontSlant,
weight: FontWeight
) -> FontFacepub unsafe fn from_raw_full(ptr: *mut cairo_font_face_t) -> FontFace[src]
pub unsafe fn from_raw_full(ptr: *mut cairo_font_face_t) -> FontFacepub unsafe fn from_raw_none(ptr: *mut cairo_font_face_t) -> FontFace[src]
pub unsafe fn from_raw_none(ptr: *mut cairo_font_face_t) -> FontFacepub fn to_raw_none(&self) -> *mut cairo_font_face_t[src]
pub fn to_raw_none(&self) -> *mut cairo_font_face_tpub fn toy_get_family(&self) -> Option<String>[src]
pub fn toy_get_family(&self) -> Option<String>pub fn toy_get_slant(&self) -> FontSlant[src]
pub fn toy_get_slant(&self) -> FontSlantpub fn toy_get_weight(&self) -> FontWeight[src]
pub fn toy_get_weight(&self) -> FontWeightpub fn ensure_status(&self)[src]
pub fn ensure_status(&self)pub fn get_type(&self) -> FontType[src]
pub fn get_type(&self) -> FontTypepub fn get_reference_count(&self) -> usize[src]
pub fn get_reference_count(&self) -> usizeTrait Implementations
impl Debug for FontFace[src]
impl Debug for FontFacefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for FontFace
impl Clone for FontFacefn clone(&self) -> FontFace
fn clone(&self) -> FontFaceReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl StaticType for FontFace
impl StaticType for FontFacefn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.