[][src]Function sdl2::ttf::init

pub fn init() -> Result<Sdl2TtfContext, InitError>

Initializes the truetype font API and returns a context manager which will clean up the library once it goes out of scope.