Trait moonshine_check::Fix

source ·
pub trait Fix:
    'static
    + Send
    + Sync {
    // Required method
    fn fix(&self, entity: EntityRef<'_>, commands: &mut Commands<'_, '_>);
}

Required Methods§

source

fn fix(&self, entity: EntityRef<'_>, commands: &mut Commands<'_, '_>)

Implementors§

source§

impl<F> Fix for F
where F: 'static + Send + Sync + Fn(EntityRef<'_>, &mut Commands<'_, '_>),