pub struct GlyphInstance {
pub glyph_id: u16,
pub cluster: Range<usize>,
pub position: [f32; 2],
pub rotation: f32,
pub scale: f32,
pub local_rect: [f32; 4],
pub atlas_rect: [u32; 4],
pub uv: [f32; 4],
}Fields§
§glyph_id: u16§cluster: Range<usize>§position: [f32; 2]§rotation: f32§scale: f32§local_rect: [f32; 4]§atlas_rect: [u32; 4]§uv: [f32; 4]Trait Implementations§
Source§impl Clone for GlyphInstance
impl Clone for GlyphInstance
Source§fn clone(&self) -> GlyphInstance
fn clone(&self) -> GlyphInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GlyphInstance
impl RefUnwindSafe for GlyphInstance
impl Send for GlyphInstance
impl Sync for GlyphInstance
impl Unpin for GlyphInstance
impl UnsafeUnpin 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