Enum cargo_release::steps::TargetVersion
source · 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
§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::Parser]Auto Trait Implementations§
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