Struct freetype::library::Library [] [src]

pub struct Library {
    // some fields omitted
}

Methods

impl Library
[src]

fn init() -> FtResult<Self>

fn new_face<P>(&self, path: P, face_index: isize) -> FtResult<Face<'static>> where P: AsRef<OsStr>

fn new_memory_face<'a>(&self, buffer: &'a [u8], face_index: isize) -> FtResult<Face<'a>>

fn raw(&self) -> FT_Library

fn get_memory(&self) -> &FT_MemoryRec

fn new_memory(&self, alloc: Option<FT_Alloc_Func>, free: Option<FT_Free_Func>, realloc: Option<FT_Realloc_Func>, user: Option<*mut c_void>)

Trait Implementations

impl Drop for Library
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more