pub struct StyledRun {
pub start: usize,
pub end: usize,
pub style: TextStyle,
}Expand description
A half-open UTF-8 byte range. Gaps use the element’s base style.
Fields§
§start: usize§end: usize§style: TextStyleTrait Implementations§
impl Copy for StyledRun
impl Eq for StyledRun
impl StructuralPartialEq for StyledRun
Auto Trait Implementations§
impl Forget for StyledRun
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