pub struct StyledRange {
pub range: Range<usize>,
pub fg: (u8, u8, u8),
pub bold: bool,
pub italic: bool,
}Expand description
Foreground color + style for a byte range of one line.
Fields§
§range: Range<usize>§fg: (u8, u8, u8)§bold: bool§italic: boolTrait Implementations§
Source§impl Clone for StyledRange
impl Clone for StyledRange
Source§impl Debug for StyledRange
impl Debug for StyledRange
impl Eq for StyledRange
Source§impl PartialEq for StyledRange
impl PartialEq for StyledRange
impl StructuralPartialEq for StyledRange
Auto Trait Implementations§
impl Freeze for StyledRange
impl RefUnwindSafe for StyledRange
impl Send for StyledRange
impl Sync for StyledRange
impl Unpin for StyledRange
impl UnsafeUnpin for StyledRange
impl UnwindSafe for StyledRange
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