Trait UseLayoutEffect

Source
pub trait UseLayoutEffect<P>
where P: Platform + ?Sized,
{ // Required method fn use_layout_effect<F>( &mut self, key: Key, conditions: Option<Key>, effect: F, ) where F: FnOnce(&EffectLink<'_, P>, &mut P::CommandBuffer) + 'static; }

Required Methods§

Source

fn use_layout_effect<F>(&mut self, key: Key, conditions: Option<Key>, effect: F)
where F: FnOnce(&EffectLink<'_, P>, &mut P::CommandBuffer) + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, P> UseLayoutEffect<P> for Manager<'a, P>
where P: Platform + ?Sized,