Trait AeryEntityCommandsExt

Source
pub trait AeryEntityCommandsExt<'a> {
    // Required method
    fn scope<R: Relation>(
        &mut self,
        func: impl FnMut(&mut CommandScope<'_, '_, '_, R>),
    ) -> &mut Self;
}
Expand description

Ext trait to produce a CommandScope from an EntityCommands.

Required Methods§

Source

fn scope<R: Relation>( &mut self, func: impl FnMut(&mut CommandScope<'_, '_, '_, R>), ) -> &mut Self

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.

Implementations on Foreign Types§

Source§

impl<'a> AeryEntityCommandsExt<'a> for EntityCommands<'a>

Source§

fn scope<R: Relation>( &mut self, func: impl FnMut(&mut CommandScope<'_, '_, '_, R>), ) -> &mut Self

Implementors§