pub struct TextRun {
pub id: String,
pub text: String,
pub normalized_text: String,
pub glyphs: Vec<GlyphToken>,
pub bbox: Rect,
pub source: Provenance,
pub marked_content: Option<MarkedContentRef>,
}Fields§
§id: String§text: String§normalized_text: String§glyphs: Vec<GlyphToken>§bbox: Rect§source: Provenance§marked_content: Option<MarkedContentRef>Trait Implementations§
impl StructuralPartialEq for TextRun
Auto Trait Implementations§
impl Freeze for TextRun
impl RefUnwindSafe for TextRun
impl Send for TextRun
impl Sync for TextRun
impl Unpin for TextRun
impl UnsafeUnpin for TextRun
impl UnwindSafe for TextRun
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