[][src]Struct specs_scene_graph::SceneGraph

pub struct SceneGraph<P> { /* fields omitted */ }

Methods

impl<P> SceneGraph<P>[src]

pub fn new(reader_id: ReaderId<ComponentEvent>) -> Self[src]

pub fn all(&self) -> &[Entity][src]

pub fn children(&self, entity: Entity) -> &[Entity][src]

pub fn parent(&self, entity: Entity) -> Option<Entity>[src]

pub fn track(&mut self) -> ReaderId<Event>[src]

pub fn changed(&self) -> &EventChannel<Event>[src]

impl<P> SceneGraph<P> where
    P: Parent,
    P::Storage: Tracked + Default
[src]

pub fn maintain<'system>(
    &mut self,
    entities: Entities<'system>,
    parents: ReadStorage<'system, P>
)
[src]

Trait Implementations

impl<P> SetupHandler<SceneGraph<P>> for SceneGraphSetupHandler<P> where
    P: Parent,
    P::Storage: Default + Tracked
[src]

Auto Trait Implementations

impl<P> Send for SceneGraph<P> where
    P: Send

impl<P> Unpin for SceneGraph<P> where
    P: Unpin

impl<P> Sync for SceneGraph<P> where
    P: Sync

impl<P> !UnwindSafe for SceneGraph<P>

impl<P> !RefUnwindSafe for SceneGraph<P>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]