Enum oro_package_spec::VersionSpec
source · pub enum VersionSpec {
Tag(String),
Version(Version),
Range(Range),
}Variants§
Trait Implementations§
source§impl Clone for VersionSpec
impl Clone for VersionSpec
source§fn clone(&self) -> VersionSpec
fn clone(&self) -> VersionSpec
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 VersionSpec
impl Debug for VersionSpec
source§impl Display for VersionSpec
impl Display for VersionSpec
source§impl Hash for VersionSpec
impl Hash for VersionSpec
source§impl PartialEq<VersionSpec> for VersionSpec
impl PartialEq<VersionSpec> for VersionSpec
source§fn eq(&self, other: &VersionSpec) -> bool
fn eq(&self, other: &VersionSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.