pub struct ResolvedTextRun {
pub range: TextByteRange,
pub span: TextSpanId,
pub action: Option<TextSpanId>,
pub style: ComputedStyle,
pub inline_box_paint: bool,
}Expand description
One logical inline Text with fully resolved style.
Fields§
§range: TextByteRangeUTF-8 byte range in the complete paragraph.
span: TextSpanIdRuntime identity used for logical event propagation.
action: Option<TextSpanId>Logical inline ancestor with a tap action.
style: ComputedStyleResolved style of the inline Text.
inline_box_paint: boolWhether box paint belongs to a logical inline span.
Trait Implementations§
Source§impl Clone for ResolvedTextRun
impl Clone for ResolvedTextRun
Auto Trait Implementations§
impl Forget for ResolvedTextRun
impl Freeze for ResolvedTextRun
impl Move for ResolvedTextRun
impl RefUnwindSafe for ResolvedTextRun
impl Send for ResolvedTextRun
impl Sync for ResolvedTextRun
impl Unpin for ResolvedTextRun
impl UnsafeUnpin for ResolvedTextRun
impl UnwindSafe for ResolvedTextRun
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