[−][src]Struct miniquad_text_rusttype::FontTexture
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]
context: &mut Context,
font: R,
font_size: u32,
characters_list: I
) -> Result<FontTexture, Error> where
R: Read,
I: IntoIterator<Item = char>,
Auto Trait Implementations
impl RefUnwindSafe for FontTexture
impl Send for FontTexture
impl Sync for FontTexture
impl Unpin for FontTexture
impl UnwindSafe for FontTexture
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,