pub struct TextGlyph {
pub key: GlyphKey,
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub x_offset: f32,
pub y_offset: f32,
pub color: [f32; 4],
}Fields§
§key: GlyphKey§x: f32§y: f32§width: f32§height: f32§x_offset: f32§y_offset: f32§color: [f32; 4]Trait Implementations§
impl StructuralPartialEq for TextGlyph
Auto Trait Implementations§
impl Freeze for TextGlyph
impl RefUnwindSafe for TextGlyph
impl Send for TextGlyph
impl Sync for TextGlyph
impl Unpin for TextGlyph
impl UnsafeUnpin for TextGlyph
impl UnwindSafe for TextGlyph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more