pub struct TextRun {
pub range: Range<usize>,
pub style: TextStyle,
}Expand description
A styled run of text spanning a byte range within a rich text widget.
Fields§
§range: Range<usize>§style: TextStyleImplementations§
Trait Implementations§
impl StructuralPartialEq for TextRun
Auto Trait Implementations§
impl Forget for TextRun
impl Freeze for TextRun
impl Move for TextRun
impl RefUnwindSafe for TextRun
impl Send for TextRunwhere
RawVecInner: Send,
impl Sync for TextRunwhere
RawVecInner: Sync,
impl Unpin for TextRun
impl UnsafeUnpin for TextRun
impl UnwindSafe for TextRunwhere
RawVecInner: UnwindSafe,
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