Trait viz_core::Guard[][src]

pub trait Guard: Send + Sync + 'static {
    fn check(&self, _: &Context) -> bool;
}

Required methods

fn check(&self, _: &Context) -> bool[src]

Loading content...

Implementations on Foreign Types

impl Guard for Box<dyn Guard>[src]

Loading content...

Implementors

impl<F> Guard for F where
    F: Send + Sync + 'static + Fn(&Context) -> bool
[src]

Loading content...