[][src]Trait polyhorn_core::UseLayoutEffect

pub trait UseLayoutEffect<P: ?Sized> where
    P: Platform
{ pub 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

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

Loading content...

Implementors

impl<'a, P: ?Sized> UseLayoutEffect<P> for Manager<'a, P> where
    P: Platform
[src]

Loading content...