pub trait WithChildren: Bundle + Sized {
// Required method
fn with_children(
self,
f: impl FnOnce(&mut SpawnChildBuilder<'_>),
) -> (Self, SpawnChildren);
}👎Deprecated since 0.2.4: see documentation at https://github.com/Zeenobit/moonshine_spawn for details
Expand description
Required Methods§
fn with_children( self, f: impl FnOnce(&mut SpawnChildBuilder<'_>), ) -> (Self, SpawnChildren)
👎Deprecated since 0.2.4: see documentation at https://github.com/Zeenobit/moonshine_spawn for details
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.