struct GlyphCluster {
byte_idx: ByteIndex,
codepoint: char,
width: f32,
advance: f32,
ascent: f32,
descent: f32,
has_relative_shift: bool,
glyphs: Vec<PositionedGlyph>,
transform: Transform,
path_transform: Transform,
visible: bool,
}
Fields§
§byte_idx: ByteIndex
§codepoint: char
§width: f32
§advance: f32
§ascent: f32
§descent: f32
§has_relative_shift: bool
§glyphs: Vec<PositionedGlyph>
§transform: Transform
§path_transform: Transform
§visible: bool
Implementations§
Trait Implementations§
Source§impl Clone for GlyphCluster
impl Clone for GlyphCluster
Source§fn clone(&self) -> GlyphCluster
fn clone(&self) -> GlyphCluster
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GlyphCluster
impl RefUnwindSafe for GlyphCluster
impl Send for GlyphCluster
impl Sync for GlyphCluster
impl Unpin for GlyphCluster
impl UnwindSafe for GlyphCluster
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