[][src]Struct miniquad_text_rusttype::CharacterInfos

pub struct CharacterInfos {
    pub tex_coords: (f32, f32),
    pub tex_size: (f32, f32),
    pub size: (f32, f32),
    pub height_over_line: f32,
    pub left_padding: f32,
    pub right_padding: f32,
}

Fields

tex_coords: (f32, f32)tex_size: (f32, f32)size: (f32, f32)height_over_line: f32left_padding: f32right_padding: f32

Methods

impl CharacterInfos[src]

pub fn scale(&self, font_size: f32) -> CharacterInfos[src]

Trait Implementations

impl Clone for CharacterInfos[src]

impl Copy for CharacterInfos[src]

impl Debug for CharacterInfos[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.