AnyCompose

Trait AnyCompose 

Source
pub trait AnyCompose: Send + Sync {
    // Required methods
    fn as_any_mut(&mut self) -> &mut dyn Any;
    fn build_any(
        &mut self,
        world: &mut World,
        children: &mut Vec<Entity>,
    ) -> Box<dyn Any + Send + Sync>;
    fn rebuild_any(
        &mut self,
        target: &mut dyn Any,
        state: &mut dyn Any,
        world: &mut World,
        children: &mut Vec<Entity>,
    );
}

Required Methods§

Source

fn as_any_mut(&mut self) -> &mut dyn Any

Source

fn build_any( &mut self, world: &mut World, children: &mut Vec<Entity>, ) -> Box<dyn Any + Send + Sync>

Source

fn rebuild_any( &mut self, target: &mut dyn Any, state: &mut dyn Any, world: &mut World, children: &mut Vec<Entity>, )

Implementors§