Struct cargo_release::steps::TargetVersionParser
source · [−]pub struct TargetVersionParser;Trait Implementations
sourceimpl Clone for TargetVersionParser
impl Clone for TargetVersionParser
sourcefn clone(&self) -> TargetVersionParser
fn clone(&self) -> TargetVersionParser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl TypedValueParser for TargetVersionParser
impl TypedValueParser for TargetVersionParser
type Value = TargetVersion
type Value = TargetVersion
Argument’s value type
sourcefn parse_ref(
&self,
cmd: &Command,
arg: Option<&Arg>,
value: &OsStr
) -> Result<Self::Value, Error>
fn parse_ref(
&self,
cmd: &Command,
arg: Option<&Arg>,
value: &OsStr
) -> Result<Self::Value, Error>
Parse the argument value Read more
sourcefn possible_values(
&self
) -> Option<Box<dyn Iterator<Item = PossibleValue> + '_>>
fn possible_values(
&self
) -> Option<Box<dyn Iterator<Item = PossibleValue> + '_>>
Reflect on enumerated value properties Read more
sourcefn parse(
&self,
cmd: &Command,
arg: Option<&Arg>,
value: OsString
) -> Result<Self::Value, Error<RichFormatter>>
fn parse(
&self,
cmd: &Command,
arg: Option<&Arg>,
value: OsString
) -> Result<Self::Value, Error<RichFormatter>>
Parse the argument value Read more
impl Copy for TargetVersionParser
Auto Trait Implementations
impl RefUnwindSafe for TargetVersionParser
impl Send for TargetVersionParser
impl Sync for TargetVersionParser
impl Unpin for TargetVersionParser
impl UnwindSafe for TargetVersionParser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I> IntoResettable<ValueParser> for Iwhere
I: Into<ValueParser>,
impl<I> IntoResettable<ValueParser> for Iwhere
I: Into<ValueParser>,
sourcefn into_resettable(self) -> Resettable<ValueParser>
fn into_resettable(self) -> Resettable<ValueParser>
Convert to the intended resettable type