[−][src]Trait polyhorn_core::UseEffect
Required methods
pub fn use_effect<F>(&mut self, key: Key, conditions: Option<Key>, effect: F) where
F: FnOnce(&EffectLink<'_, P>) + 'static,
[src]
F: FnOnce(&EffectLink<'_, P>) + 'static,
Implementors
impl<'a, P: ?Sized> UseEffect<P> for Manager<'a, P> where
P: Platform,
[src]
P: Platform,
pub fn use_effect<F>(&mut self, key: Key, conditions: Option<Key>, effect: F) where
F: FnOnce(&EffectLink<'_, P>) + 'static,
[src]
F: FnOnce(&EffectLink<'_, P>) + 'static,