pub struct Highlight {
pub italic: bool,
pub bold: bool,
pub underline: bool,
pub undercurl: bool,
pub strikethrough: bool,
pub foreground: Option<Color>,
pub background: Option<Color>,
pub special: Option<Color>,
pub reverse: bool,
}
Fields§
§italic: bool
§bold: bool
§underline: bool
§undercurl: bool
§strikethrough: bool
§foreground: Option<Color>
§background: Option<Color>
§special: Option<Color>
§reverse: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Highlight
impl RefUnwindSafe for Highlight
impl Send for Highlight
impl Sync for Highlight
impl Unpin for Highlight
impl UnwindSafe for Highlight
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