pub struct LayoutOutput<'a> { /* private fields */ }Expand description
Caller-owned storage for final paragraph products.
Implementations§
Source§impl<'a> LayoutOutput<'a>
impl<'a> LayoutOutput<'a>
Sourcepub fn new(
glyphs: &'a mut [PositionedGlyph],
runs: &'a mut [VisualRun],
lines: &'a mut [LayoutLine],
carets: &'a mut [CaretStop],
) -> Self
pub fn new( glyphs: &'a mut [PositionedGlyph], runs: &'a mut [VisualRun], lines: &'a mut [LayoutLine], carets: &'a mut [CaretStop], ) -> Self
Combines final glyph, run, line, and caret slices into one output target.
Auto Trait Implementations§
impl<'a> !UnwindSafe for LayoutOutput<'a>
impl<'a> Forget for LayoutOutput<'a>
impl<'a> Freeze for LayoutOutput<'a>
impl<'a> RefUnwindSafe for LayoutOutput<'a>
impl<'a> Send for LayoutOutput<'a>
impl<'a> Sync for LayoutOutput<'a>
impl<'a> Unpin for LayoutOutput<'a>
impl<'a> UnsafeUnpin for LayoutOutput<'a>
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