Trait bevy::ecs::world::FromWorld[]

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

Creates Self using data from the given World

Required methods

pub fn from_world(world: &mut World) -> Self

Creates Self using data from the given World

Loading content...

Implementors

impl FromWorld for SceneLoader

impl FromWorld for Parent

impl FromWorld for PreviousParent

impl<T> FromWorld for T where
    T: Default

Loading content...