pub struct ResolvedCommand {
pub invocation: String,
pub command: Command,
pub extension: Arc<dyn Extension>,
}Expand description
pi’s ResolvedCommand: an extension command with the name it is
invoked by.
Fields§
§invocation: Stringname, or name:N when several extensions register name.
command: CommandThe command as registered.
extension: Arc<dyn Extension>The extension that handles it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedCommand
impl !UnwindSafe for ResolvedCommand
impl Freeze for ResolvedCommand
impl Send for ResolvedCommand
impl Sync for ResolvedCommand
impl Unpin for ResolvedCommand
impl UnsafeUnpin for ResolvedCommand
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