Trait bevy_spawn_fn::IntoSpawnable

source ·
pub trait IntoSpawnable {
    // Required method
    fn into_spawnable(self) -> impl Spawnable;
}
Expand description

A type that can be converted to a Spawnable.

Required Methods§

source

fn into_spawnable(self) -> impl Spawnable

Convert to a Spawnable.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> IntoSpawnable for T
where T: Spawnable,