pub struct CompositeCommand { /* private fields */ }Expand description
Builder for creating composite commands
Implementations§
Source§impl CompositeCommand
impl CompositeCommand
pub fn new(description: impl Into<String>) -> CompositeCommand
pub fn with_command(self, command: Box<dyn Command>) -> CompositeCommand
pub fn build(self) -> Box<dyn Command>
Auto Trait Implementations§
impl Freeze for CompositeCommand
impl !RefUnwindSafe for CompositeCommand
impl Send for CompositeCommand
impl Sync for CompositeCommand
impl Unpin for CompositeCommand
impl !UnwindSafe for CompositeCommand
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