Struct ConsolePalette
struct ConsolePalette {
original: Option<CONSOLE_CHARACTER_ATTRIBUTES>,
disabled: CONSOLE_CHARACTER_ATTRIBUTES,
highlighted: CONSOLE_CHARACTER_ATTRIBUTES,
}Expand description
Bundle of the three colors run_visuals_loop chooses between
when repainting the per-client console.
Fields§
§original: Option<CONSOLE_CHARACTER_ATTRIBUTES>Color captured before the SSH child wrote anything; None
degrades every paint to a no-op.
disabled: CONSOLE_CHARACTER_ATTRIBUTESColor applied while ClientState::Disabled.
highlighted: CONSOLE_CHARACTER_ATTRIBUTESColor applied while the client is the highlighted submenu target.
Auto Trait Implementations§
impl Freeze for ConsolePalette
impl RefUnwindSafe for ConsolePalette
impl Send for ConsolePalette
impl Sync for ConsolePalette
impl Unpin for ConsolePalette
impl UnsafeUnpin for ConsolePalette
impl UnwindSafe for ConsolePalette
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