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>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CompositeCommand
impl !UnwindSafe for CompositeCommand
impl Freeze for CompositeCommand
impl Send for CompositeCommand
impl Sync for CompositeCommand
impl Unpin for CompositeCommand
impl UnsafeUnpin 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