pub struct Node { /* private fields */ }
Expand description
A node in a tree.
Trait Implementations§
Source§impl Component for Node
impl Component for Node
Source§type Tracking = Untracked
type Tracking = Untracked
Specify what this storage should track.
Can be one of:
track::Untracked
, track::Insertion
, track::Modification
, track::Removal
, track::All
.impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> TupleAddComponent for T
impl<T> TupleAddComponent for T
Source§fn add_component(self, all_storages: &mut AllStorages, entity: EntityId)
fn add_component(self, all_storages: &mut AllStorages, entity: EntityId)
See [
World::add_entity
], [World::add_component
], AllStorages::add_entity
and AllStorages::add_component
.Source§impl<T> TupleDelete for T
impl<T> TupleDelete for T
Source§fn delete(all_storages: &mut AllStorages, entity: EntityId) -> bool
fn delete(all_storages: &mut AllStorages, entity: EntityId) -> bool
See [
World::delete_component
] and AllStorages::delete_component
.Source§impl<T> TupleRemove for T
impl<T> TupleRemove for T
type Out = (Option<T>,)
Source§fn remove(
all_storages: &mut AllStorages,
entity: EntityId,
) -> <T as TupleRemove>::Out
fn remove( all_storages: &mut AllStorages, entity: EntityId, ) -> <T as TupleRemove>::Out
Trait used as bound for [
World::remove
] and AllStorages::remove
.