pub struct CommandFromParser<P>where
P: Parser,{
pub(crate) cmd: Command,
parser: PhantomData<P>,
}
Fields§
§cmd: Command
§parser: PhantomData<P>
Implementations§
source§impl<P> CommandFromParser<P>where
P: Parser,
impl<P> CommandFromParser<P>where
P: Parser,
Trait Implementations§
source§impl<P> WithOutputExt<P> for CommandFromParser<P>where
P: Parser,
impl<P> WithOutputExt<P> for CommandFromParser<P>where
P: Parser,
fn with_output(self) -> ParserWithOutput<P>
Auto Trait Implementations§
impl<P> Freeze for CommandFromParser<P>
impl<P> !RefUnwindSafe for CommandFromParser<P>
impl<P> Send for CommandFromParser<P>where
P: Send,
impl<P> Sync for CommandFromParser<P>where
P: Sync,
impl<P> Unpin for CommandFromParser<P>where
P: Unpin,
impl<P> !UnwindSafe for CommandFromParser<P>
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