pub struct ExecutableCommand<'a, E> {
pub command: Command,
/* private fields */
}
Expand description
An ExecutableCommand
is a Command alongside a callback function which can
be called to execute the command in question.
Fields§
§command: Command
Implementations§
Source§impl<'a, E> ExecutableCommand<'a, E>
impl<'a, E> ExecutableCommand<'a, E>
Trait Implementations§
Source§impl<'a, E> Debug for ExecutableCommand<'a, E>
impl<'a, E> Debug for ExecutableCommand<'a, E>
Source§impl<'a, E> PartialEq<Command> for ExecutableCommand<'a, E>
impl<'a, E> PartialEq<Command> for ExecutableCommand<'a, E>
Auto Trait Implementations§
impl<'a, E> Freeze for ExecutableCommand<'a, E>
impl<'a, E> !RefUnwindSafe for ExecutableCommand<'a, E>
impl<'a, E> !Send for ExecutableCommand<'a, E>
impl<'a, E> !Sync for ExecutableCommand<'a, E>
impl<'a, E> Unpin for ExecutableCommand<'a, E>
impl<'a, E> !UnwindSafe for ExecutableCommand<'a, E>
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