pub struct SetEnabledLayoutsCommand { /* private fields */ }Implementations§
Source§impl SetEnabledLayoutsCommand
impl SetEnabledLayoutsCommand
pub fn new(layouts: Vec<String>) -> Self
pub fn match_spec(self, spec: impl Into<String>) -> Self
pub fn configured(self, value: bool) -> Self
pub fn build(self) -> Result<KittyMessage, CommandError>
Auto Trait Implementations§
impl Freeze for SetEnabledLayoutsCommand
impl RefUnwindSafe for SetEnabledLayoutsCommand
impl Send for SetEnabledLayoutsCommand
impl Sync for SetEnabledLayoutsCommand
impl Unpin for SetEnabledLayoutsCommand
impl UnwindSafe for SetEnabledLayoutsCommand
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