Struct spirt::context::ControlNode
source · pub struct ControlNode(/* private fields */);
Trait Implementations§
source§impl Clone for ControlNode
impl Clone for ControlNode
source§fn clone(&self) -> ControlNode
fn clone(&self) -> ControlNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Entity for ControlNode
impl Entity for ControlNode
type Def = EntityListNode<ControlNode, ControlNodeDef>
const CHUNK_SIZE: u32 = 4_096u32
fn from_non_zero_u32(i: NonZeroU32) -> Self
fn to_non_zero_u32(self) -> NonZeroU32
fn cx_entity_alloc(cx: &Context) -> &EntityAlloc<Self>
const CHUNK_MASK: u32 = _
fn to_chunk_start_and_intra_chunk_idx(self) -> (Self, usize)
source§impl Hash for ControlNode
impl Hash for ControlNode
source§impl PartialEq for ControlNode
impl PartialEq for ControlNode
source§fn eq(&self, other: &ControlNode) -> bool
fn eq(&self, other: &ControlNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ControlNode
impl Eq for ControlNode
impl StructuralPartialEq for ControlNode
Auto Trait Implementations§
impl RefUnwindSafe for ControlNode
impl Send for ControlNode
impl Sync for ControlNode
impl Unpin for ControlNode
impl UnwindSafe for ControlNode
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<E, V> EntityOrientedMapKey<V> for Ewhere
E: Entity,
impl<E, V> EntityOrientedMapKey<V> for Ewhere
E: Entity,
fn to_entity(key: E) -> E
§type DenseValueSlots = Option<V>
type DenseValueSlots = Option<V>
A type holding enough different
Option<V>
slots, for all possible
values of Self
, for a given Self::Entity
value contained inside.fn get_dense_value_slot(_: E, slot: &Option<V>) -> &Option<V>
fn get_dense_value_slot_mut(_: E, slot: &mut Option<V>) -> &mut Option<V>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.