[][src]Trait shipyard_scenegraph::HierarchyMut

pub trait HierarchyMut {
    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<'_, '_> HierarchyMut for (&'_ mut EntitiesViewMut<'_>, &'_ mut ViewMut<'_, Parent>, &'_ mut ViewMut<'_, Child>)[src]

Loading content...

Implementors

Loading content...