pub struct Font(_);
Expand description
TTF font loaded to GPU
Implementations
sourceimpl Font
impl Font
sourcepub fn ascii_character_list() -> Vec<char>
pub fn ascii_character_list() -> Vec<char>
List of ascii characters, may be helpful in combination with “populate_font_cache”
sourcepub fn latin_character_list() -> Vec<char>
pub fn latin_character_list() -> Vec<char>
List of latin characters
pub fn populate_font_cache(&self, characters: &[char], size: u16)
Trait Implementations
impl Copy for Font
impl StructuralPartialEq for Font
Auto Trait Implementations
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more