pub struct ModelStyle {
pub fg: Option<Rgb>,
pub bg: Option<Rgb>,
pub bold: bool,
pub dim: bool,
pub italic: bool,
pub underline: bool,
pub blink: bool,
pub reverse: bool,
pub strikethrough: bool,
}Expand description
Style state tracked by the terminal model.
Fields§
§fg: Option<Rgb>§bg: Option<Rgb>§bold: bool§dim: bool§italic: bool§underline: bool§blink: bool§reverse: bool§strikethrough: boolTrait Implementations§
Source§impl Clone for ModelStyle
impl Clone for ModelStyle
Source§fn clone(&self) -> ModelStyle
fn clone(&self) -> ModelStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelStyle
impl Debug for ModelStyle
Source§impl Default for ModelStyle
impl Default for ModelStyle
Source§fn default() -> ModelStyle
fn default() -> ModelStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModelStyle
impl PartialEq for ModelStyle
impl Eq for ModelStyle
impl StructuralPartialEq for ModelStyle
Auto Trait Implementations§
impl Freeze for ModelStyle
impl RefUnwindSafe for ModelStyle
impl Send for ModelStyle
impl Sync for ModelStyle
impl Unpin for ModelStyle
impl UnsafeUnpin for ModelStyle
impl UnwindSafe for ModelStyle
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