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