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: boolbold: boolunderline: boolundercurl: boolstrikethrough: boolforeground: Option<Color>background: Option<Color>special: Option<Color>reverse: boolImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Highlight
impl Send for Highlight
impl Sync for Highlight
impl Unpin for Highlight
impl UnwindSafe for Highlight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more