Query

Trait Query 

Source
pub trait Query {
    // Required method
    fn execute(&mut self, context: &dyn Any) -> ControlFlow;
}

Required Methods§

Source

fn execute(&mut self, context: &dyn Any) -> ControlFlow

Implementors§

Source§

impl<F, Context, Outcome> Query for Once<F, Context, Outcome>
where F: FnOnce(&Context) -> Outcome, Context: 'static,