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