pub enum TargetVersion {
Relative(BumpLevel),
Absolute(Version),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TargetVersion
impl Clone for TargetVersion
Source§fn clone(&self) -> TargetVersion
fn clone(&self) -> TargetVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetVersion
impl Debug for TargetVersion
Source§impl Default for TargetVersion
impl Default for TargetVersion
Source§impl Display for TargetVersion
impl Display for TargetVersion
Source§impl FromStr for TargetVersion
impl FromStr for TargetVersion
Source§impl ValueParserFactory for TargetVersion
impl ValueParserFactory for TargetVersion
Source§type Parser = TargetVersionParser
type Parser = TargetVersionParser
Generated parser, usually
ValueParser. Read moreSource§fn value_parser() -> Self::Parser
fn value_parser() -> Self::Parser
Create the specified
Self::ParserAuto Trait Implementations§
impl Freeze for TargetVersion
impl RefUnwindSafe for TargetVersion
impl Send for TargetVersion
impl Sync for TargetVersion
impl Unpin for TargetVersion
impl UnwindSafe for TargetVersion
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