Trait recital::resolve::Constraint
[−]
[src]
pub trait Constraint { fn allows(&self, version: &Version) -> bool; }
Defines how a constraint must be implemented.
Required Methods
fn allows(&self, version: &Version) -> bool
Checks if the given version number satisifies this constraint.
Implementors
impl Constraint for Constraints
impl Constraint for Operation