pub struct RenderedLine {
pub glyphs: Vec<GlyphPosition>,
pub width: f32,
pub height: f32,
}Expand description
A rendered line of multi-font text.
Fields§
§glyphs: Vec<GlyphPosition>Glyphs in this line, each potentially from a different font.
width: f32Total line width in pixels.
height: f32Line height in pixels.
Trait Implementations§
Source§impl Clone for RenderedLine
impl Clone for RenderedLine
Source§fn clone(&self) -> RenderedLine
fn clone(&self) -> RenderedLine
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 RenderedLine
impl RefUnwindSafe for RenderedLine
impl Send for RenderedLine
impl Sync for RenderedLine
impl Unpin for RenderedLine
impl UnsafeUnpin for RenderedLine
impl UnwindSafe for RenderedLine
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