Trait Guard
Other items inviz::prelude
pub trait Guard: 'static + Send + Sync { fn check(&self, &Context) -> bool; }
A guard for Context
fn check(&self, &Context) -> bool
Checks the Context
impl Guard for Box<dyn Guard + 'static, Global>
pub fn check(&self, cx: &Context) -> bool
impl<F> Guard for F where F: Send + Sync + 'static + Fn(&Context) -> bool,