Struct dioxus_native_core::tree::Node
source · pub struct Node { /* private fields */ }Expand description
A node in a tree.
Trait Implementations§
source§impl Component for Node
impl Component for Node
§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.source§impl PartialEq<Node> for Node
impl PartialEq<Node> for Node
impl Eq for Node
impl StructuralEq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> TupleAddComponent for Twhere
T: Send + Sync + Component,
<T as Component>::Tracking: Send + Sync,
impl<T> TupleAddComponent for Twhere T: Send + Sync + Component, <T as Component>::Tracking: Send + Sync,
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 Twhere
T: Send + Sync + Component,
<T as Component>::Tracking: Send + Sync,
impl<T> TupleDelete for Twhere T: Send + Sync + Component, <T as Component>::Tracking: Send + Sync,
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 Twhere
T: Send + Sync + Component,
<T as Component>::Tracking: Send + Sync,
impl<T> TupleRemove for Twhere T: Send + Sync + Component, <T as Component>::Tracking: Send + Sync,
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.