pub struct Mark {
pub draw_tags: usize,
pub glyph_runs: usize,
pub kind: MarkKind,
}Expand description
A keyed boundary in the draw stream, for a renderer that keeps what it
shows from frame to frame by identity (a page’s DOM): everything drawn
between a MarkKind::Begin and its MarkKind::End belongs to the
thing the key names, wherever the stream lands it.
Fields§
How many draw tags precede the boundary.
glyph_runs: usizeHow many glyph runs precede it: a run inserted at the same draw tag offset lies before the boundary only when it was recorded first.
kind: MarkKindWhich boundary it is.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Mark
impl Freeze for Mark
impl Move for Mark
impl RefUnwindSafe for Mark
impl Send for Mark
impl Sync for Mark
impl Unpin for Mark
impl UnsafeUnpin for Mark
impl UnwindSafe for Mark
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