nu_protocol::engine

Trait CommandClone

Source
pub trait CommandClone {
    // Required method
    fn clone_box(&self) -> Box<dyn Command>;
}

Required Methods§

Source

fn clone_box(&self) -> Box<dyn Command>

Implementors§

Source§

impl<T> CommandClone for T
where T: 'static + Command + Clone,