Trait recital::resolve::Constraint [] [src]

pub trait Constraint {
    fn allows(&self, version: &Version) -> bool;
}

Defines how a constraint must be implemented.

Required Methods

Checks if the given version number satisifies this constraint.

Implementors