pub struct SgrState {
pub fg: PackedRgba,
pub bg: PackedRgba,
pub flags: StyleFlags,
}Expand description
Current SGR (style) state for the terminal model.
Fields§
§fg: PackedRgbaCurrent foreground color.
bg: PackedRgbaCurrent background color.
flags: StyleFlagsCurrent text attribute flags.
Implementations§
Trait Implementations§
impl Eq for SgrState
impl StructuralPartialEq for SgrState
Auto Trait Implementations§
impl Freeze for SgrState
impl RefUnwindSafe for SgrState
impl Send for SgrState
impl Sync for SgrState
impl Unpin for SgrState
impl UnsafeUnpin for SgrState
impl UnwindSafe for SgrState
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