Struct glyph_brush::GlyphVertex
source · pub struct GlyphVertex {
pub tex_coords: Rect<f32>,
pub pixel_coords: Rect<i32>,
pub bounds: Rect<f32>,
pub screen_dimensions: (f32, f32),
pub color: Color,
pub z: f32,
}
Expand description
Data used to generate vertex information for a single glyph
Fields
tex_coords: Rect<f32>
pixel_coords: Rect<i32>
bounds: Rect<f32>
screen_dimensions: (f32, f32)
color: Color
z: f32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GlyphVertex
impl Send for GlyphVertex
impl Sync for GlyphVertex
impl Unpin for GlyphVertex
impl UnwindSafe for GlyphVertex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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