pub struct StyleSpan {
pub start: usize,
pub end: usize,
pub style: u32,
}Expand description
A styled span on one line, in char columns. Spans are sorted and do not overlap.
Fields§
§start: usize§end: usize§style: u32Trait Implementations§
impl Copy for StyleSpan
impl Eq for StyleSpan
impl StructuralPartialEq for StyleSpan
Auto Trait Implementations§
impl Forget for StyleSpan
impl Freeze for StyleSpan
impl Move for StyleSpan
impl RefUnwindSafe for StyleSpan
impl Send for StyleSpan
impl Sync for StyleSpan
impl Unpin for StyleSpan
impl UnsafeUnpin for StyleSpan
impl UnwindSafe for StyleSpan
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