Struct geng_font::GlyphInstance
source · pub struct GlyphInstance {
pub i_pos: vec2<f32>,
pub i_size: vec2<f32>,
pub i_uv_pos: vec2<f32>,
pub i_uv_size: vec2<f32>,
}
Fields§
§i_pos: vec2<f32>
§i_size: vec2<f32>
§i_uv_pos: vec2<f32>
§i_uv_size: vec2<f32>
Trait Implementations§
source§impl Clone for GlyphInstance
impl Clone for GlyphInstance
source§fn clone(&self) -> GlyphInstance
fn clone(&self) -> GlyphInstance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GlyphInstance
impl Debug for GlyphInstance
source§impl Vertex for GlyphInstance
impl Vertex for GlyphInstance
fn walk_attributes(visitor: impl VertexAttributeVisitor)
Auto Trait Implementations§
impl RefUnwindSafe for GlyphInstance
impl Send for GlyphInstance
impl Sync for GlyphInstance
impl Unpin for GlyphInstance
impl UnwindSafe for GlyphInstance
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