[][src]Trait shipyard_scenegraph::HierarchyMut

pub trait HierarchyMut<T> {
    fn attach(&mut self, id: EntityId, parent: EntityId);
fn attach_new(&mut self, parent: EntityId) -> EntityId;
fn remove_single(&mut self, id: EntityId);
fn remove(&mut self, id: EntityId);
fn sort_children_by<F>(&mut self, id: EntityId, compare: F)
    where
        F: FnMut(&EntityId, &EntityId) -> Ordering
; }

Required methods

fn attach(&mut self, id: EntityId, parent: EntityId)

fn attach_new(&mut self, parent: EntityId) -> EntityId

fn remove_single(&mut self, id: EntityId)

fn remove(&mut self, id: EntityId)

fn sort_children_by<F>(&mut self, id: EntityId, compare: F) where
    F: FnMut(&EntityId, &EntityId) -> Ordering

Loading content...

Implementations on Foreign Types

impl<'_, '_, T> HierarchyMut<T> for (&'_ mut EntitiesViewMut<'_>, &'_ mut ViewMut<'_, Parent<T>>, &'_ mut ViewMut<'_, Child<T>>) where
    T: 'static, 
[src]

Loading content...

Implementors

Loading content...