Struct cairo::FontFace [−]
pub struct FontFace(_);
Methods
impl FontFace
[src]
impl FontFace
pub fn toy_create(
family: &str,
slant: FontSlant,
weight: FontWeight
) -> FontFace
[src]
pub fn toy_create(
family: &str,
slant: FontSlant,
weight: FontWeight
) -> FontFace
pub 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) -> FontFace
pub 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) -> FontFace
pub fn to_raw_none(&self) -> *mut cairo_font_face_t
[src]
pub fn to_raw_none(&self) -> *mut cairo_font_face_t
pub 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) -> FontSlant
pub fn toy_get_weight(&self) -> FontWeight
[src]
pub fn toy_get_weight(&self) -> FontWeight
pub fn ensure_status(&self)
[src]
pub fn ensure_status(&self)
pub fn get_type(&self) -> FontType
[src]
pub fn get_type(&self) -> FontType
pub fn get_reference_count(&self) -> usize
[src]
pub fn get_reference_count(&self) -> usize
Trait Implementations
impl Debug for FontFace
[src]
impl Debug for FontFace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FontFace
impl Clone for FontFace
fn clone(&self) -> FontFace
fn clone(&self) -> FontFace
Returns 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 FontFace
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.