pub trait WouldApply {
// Required method
fn would_apply(&self, ctx: &WouldApplyContext<'_>) -> bool;
}
Expand description
Find out whether a lookup would be applied.
Required Methods§
Sourcefn would_apply(&self, ctx: &WouldApplyContext<'_>) -> bool
fn would_apply(&self, ctx: &WouldApplyContext<'_>) -> bool
Whether the lookup would be applied.