Enum cargo_doc2readme::Subcommand
source · [−]pub(crate) enum Subcommand {
Doc2readme(Args),
}
Variants
Doc2readme(Args)
Trait Implementations
sourceimpl Clap for Subcommand
impl Clap for Subcommand
sourcefn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
sourcefn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
sourceimpl FromArgMatches for Subcommand
impl FromArgMatches for Subcommand
sourcefn from_arg_matches(matches: &ArgMatches) -> Self
fn from_arg_matches(matches: &ArgMatches) -> Self
It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more
sourceimpl IntoApp for Subcommand
impl IntoApp for Subcommand
sourceimpl Subcommand for Subcommand
impl Subcommand for Subcommand
sourcefn augment_subcommands<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
@TODO @release @docs
sourcefn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
@TODO @release @docs
Auto Trait Implementations
impl RefUnwindSafe for Subcommand
impl Send for Subcommand
impl Sync for Subcommand
impl Unpin for Subcommand
impl UnwindSafe for Subcommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more