Trait qm_entity::HasRole

source ·
pub trait HasRole<R, P>
where R: Debug, P: Debug,
{ // Required methods fn has_role(&self, r: &R, p: &P) -> bool; fn has_role_object(&self, role: &Role<R, P>) -> bool; }

Required Methods§

source

fn has_role(&self, r: &R, p: &P) -> bool

source

fn has_role_object(&self, role: &Role<R, P>) -> bool

Implementors§