[][src]Struct miniquad_text_rusttype::FontTexture

pub struct FontTexture { /* fields omitted */ }

Font texture loaded to the GPU

Methods

impl FontTexture[src]

pub fn ascii_character_list() -> Vec<char>[src]

Deprecated since 0.1.0:

Please use FontAtlas::ascii_character_list instead

pub fn cyrllic_character_list() -> Vec<char>[src]

Deprecated since 0.1.0:

Please use FontAtlas::cyrllic_character_list instead

pub fn thai_character_list() -> Vec<char>[src]

Deprecated since 0.1.0:

Please use FontAtlas::thai_character_list instead

pub fn vietnamese_character_list() -> Vec<char>[src]

Deprecated since 0.1.0:

Please use FontAtlas::vietnamese_character_list instead

pub fn new<R, I>(
    context: &mut Context,
    font: R,
    font_size: u32,
    characters_list: I
) -> Result<FontTexture, Error> where
    R: Read,
    I: IntoIterator<Item = char>, 
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.