Trait bevy_ecs::world::FromWorld[][src]

pub trait FromWorld {
    fn from_world(world: &mut World) -> Self;
}

Creates Self using data from the given World

Required methods

fn from_world(world: &mut World) -> Self[src]

Creates Self using data from the given World

Loading content...

Implementors

impl<T: Default> FromWorld for T[src]

Loading content...