pub struct VersionSpec(pub Comparison, pub String);
Tuple Fields§
§0: Comparison
§1: String
Implementations§
Trait Implementations§
Source§impl Debug for VersionSpec
impl Debug for VersionSpec
Source§impl From<(Comparison, String)> for VersionSpec
impl From<(Comparison, String)> for VersionSpec
Source§fn from((c, v): (Comparison, String)) -> Self
fn from((c, v): (Comparison, String)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VersionSpec
impl PartialEq for VersionSpec
impl StructuralPartialEq for VersionSpec
Auto Trait Implementations§
impl Freeze for VersionSpec
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