pub trait Allowed {
    // Required method
    fn is_allowed(&self) -> bool;
}
Expand description

一个用于检查规则是否满足条件的特质

ApplyRule 实现了这个特质

Required Methods§

source

fn is_allowed(&self) -> bool

判断当前情况是否满足该规则

Implementations on Foreign Types§

source§

impl Allowed for [ApplyRule]

Implementors§