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 for VersionSpec
impl PartialEq 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 ==.impl Eq for VersionSpec
impl StructuralEq for VersionSpec
impl StructuralPartialEq for VersionSpec
Auto Trait Implementations§
impl RefUnwindSafe for VersionSpec
impl Send for VersionSpec
impl Sync for VersionSpec
impl Unpin for VersionSpec
impl UnwindSafe for VersionSpec
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