pub struct SetColorsCommand { /* private fields */ }Implementations§
Source§impl SetColorsCommand
impl SetColorsCommand
pub fn new(colors: Map<String, Value>) -> Self
pub fn match_window(self, spec: impl Into<String>) -> Self
pub fn match_tab(self, spec: impl Into<String>) -> Self
pub fn all(self, value: bool) -> Self
pub fn configured(self, value: bool) -> Self
pub fn reset(self, value: bool) -> Self
pub fn build(self) -> Result<KittyMessage, CommandError>
Auto Trait Implementations§
impl Freeze for SetColorsCommand
impl RefUnwindSafe for SetColorsCommand
impl Send for SetColorsCommand
impl Sync for SetColorsCommand
impl Unpin for SetColorsCommand
impl UnwindSafe for SetColorsCommand
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