Struct node_semver::Range [−][src]
pub struct Range(_);
Expand description
Node-style semver range.
These ranges map mostly 1:1 to semver’s except for some internal representation details that allow some more interesting set-level operations.
For details on supported syntax, see https://github.com/npm/node-semver#advanced-range-syntax
Implementations
Returns true if version
is satisfied by this range.
Returns true if other
is a strict superset of this range.
Returns true if other
has overlap with this range.
Returns a new range that is the set-intersection between this range and other
.
Returns a new range that is the set-difference between this range and other
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Range
impl UnwindSafe for Range
Blanket Implementations
Mutably borrows from an owned value. Read more