pub struct ShapedLine {
pub glyphs: Vec<PositionedGlyph>,
pub line_offset: f32,
}Expand description
A shaped line of positioned glyphs.
Fields§
§glyphs: Vec<PositionedGlyph>Positioned glyphs on this line.
line_offset: f32Extra vertical offset for tall inline elements.
Trait Implementations§
Source§impl Clone for ShapedLine
impl Clone for ShapedLine
Source§fn clone(&self) -> ShapedLine
fn clone(&self) -> ShapedLine
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 moreSource§impl Debug for ShapedLine
impl Debug for ShapedLine
Source§impl PartialEq for ShapedLine
impl PartialEq for ShapedLine
impl StructuralPartialEq for ShapedLine
Auto Trait Implementations§
impl Freeze for ShapedLine
impl RefUnwindSafe for ShapedLine
impl Send for ShapedLine
impl Sync for ShapedLine
impl Unpin for ShapedLine
impl UnsafeUnpin for ShapedLine
impl UnwindSafe for ShapedLine
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