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

Trait Implementations

impl Drop for Library
[src]

fn drop(&mut self)

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