pub trait Condition {
type Error;
// Required methods
fn check(&mut self, vector: Vector) -> MoveMask;
fn ok(self) -> Result<(), Self::Error>;
}Available on crate feature
require only.Expand description
A Condition is used internally by the Requirement trait. requirement! will expand into
a constant function which returns a type that implements this trait.