pub struct StyledRun {
pub text: String,
pub style: ComputedTextStyle,
pub font_id: u32,
pub resolved_family: String,
}Expand description
Styled text run.
Fields§
§text: StringRun text payload.
style: ComputedTextStyleComputed style for this run.
font_id: u32Stable resolved font identity (0 means policy fallback).
resolved_family: StringResolved family selected by the font resolver.
Trait Implementations§
impl StructuralPartialEq for StyledRun
Auto Trait Implementations§
impl Freeze for StyledRun
impl RefUnwindSafe for StyledRun
impl Send for StyledRun
impl Sync for StyledRun
impl Unpin for StyledRun
impl UnsafeUnpin for StyledRun
impl UnwindSafe for StyledRun
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