pub struct Glyph {
pub tex_id: c_uint,
pub multicolor: bool,
pub top: i16,
pub left: i16,
pub width: i16,
pub height: i16,
pub uv_bot: f32,
pub uv_left: f32,
pub uv_width: f32,
pub uv_height: f32,
}
Fields§
§tex_id: c_uint
§multicolor: bool
§top: i16
§left: i16
§width: i16
§height: i16
§uv_bot: f32
§uv_left: f32
§uv_width: f32
§uv_height: f32
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
Blanket Implementations§
source§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.