pub struct SemverMatcher;Expand description
Semver-based version matcher for Cargo and npm.
Uses the semver crate to match version requirements. Handles caret (^) and tilde (~) requirements according to semver semantics.
Trait Implementations§
Source§impl Clone for SemverMatcher
impl Clone for SemverMatcher
Source§fn clone(&self) -> SemverMatcher
fn clone(&self) -> SemverMatcher
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 SemverMatcher
impl Debug for SemverMatcher
impl Copy for SemverMatcher
Auto Trait Implementations§
impl Freeze for SemverMatcher
impl RefUnwindSafe for SemverMatcher
impl Send for SemverMatcher
impl Sync for SemverMatcher
impl Unpin for SemverMatcher
impl UnwindSafe for SemverMatcher
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