pub struct VersionReq { /* private fields */ }
Expand description
Representing an actual version requirenment, normally constructed through VersionReq::new.
Implementations§
Source§impl VersionReq
impl VersionReq
Trait Implementations§
Source§impl Clone for VersionReq
impl Clone for VersionReq
Source§fn clone(&self) -> VersionReq
fn clone(&self) -> VersionReq
Returns a duplicate 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 VersionReq
impl Debug for VersionReq
Source§impl Hash for VersionReq
impl Hash for VersionReq
Source§impl Ord for VersionReq
impl Ord for VersionReq
Source§fn cmp(&self, other: &VersionReq) -> Ordering
fn cmp(&self, other: &VersionReq) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionReq
impl PartialEq for VersionReq
Source§impl PartialOrd for VersionReq
impl PartialOrd for VersionReq
impl Copy for VersionReq
impl Eq for VersionReq
impl StructuralPartialEq for VersionReq
Auto Trait Implementations§
impl Freeze for VersionReq
impl RefUnwindSafe for VersionReq
impl Send for VersionReq
impl Sync for VersionReq
impl Unpin for VersionReq
impl UnwindSafe for VersionReq
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