Trait lay_rs::view::ViewRenderFunction

source ·
pub trait ViewRenderFunction<S: Hash + Clone>:
    Fn(&S, &View<S>) -> LayerTree
    + Sync
    + Send
    + 'static { }

Implementors§

source§

impl<F, S> ViewRenderFunction<S> for F
where F: Fn(&S, &View<S>) -> LayerTree + Sync + Send + 'static, S: Hash + Clone,