pub struct AnsiStyle {
pub color: Option<Color>,
pub background: Option<Color>,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub dim: bool,
pub reverse: bool,
pub strikethrough: bool,
}Fields§
§color: Option<Color>§background: Option<Color>§bold: bool§italic: bool§underline: bool§dim: bool§reverse: bool§strikethrough: boolImplementations§
Trait Implementations§
Source§impl ModuleStyle for AnsiStyle
impl ModuleStyle for AnsiStyle
impl StructuralPartialEq for AnsiStyle
Auto Trait Implementations§
impl Freeze for AnsiStyle
impl RefUnwindSafe for AnsiStyle
impl Send for AnsiStyle
impl Sync for AnsiStyle
impl Unpin for AnsiStyle
impl UnsafeUnpin for AnsiStyle
impl UnwindSafe for AnsiStyle
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