Trait Inspector
market
pub trait Inspector { type Good; fn allows(&self, good: &Self::Good) -> bool; }
Inspects if goods meet defined requirements.
type Good
The good to be inspected.
fn allows(&self, good: &Self::Good) -> bool
Returns if good meets requirements.
good