pub struct ArchetypeRow(/* private fields */);Expand description
An opaque location within a Archetype.
This can be used in conjunction with ArchetypeId to find the exact location
of an Entity within a World. An entity’s archetype and index can be
retrieved via Entities::get.
Implementations§
Source§impl ArchetypeRow
impl ArchetypeRow
Sourcepub const INVALID: ArchetypeRow
pub const INVALID: ArchetypeRow
Index indicating an invalid archetype row. This is meant to be used as a placeholder.
Trait Implementations§
Source§impl Clone for ArchetypeRow
impl Clone for ArchetypeRow
Source§fn clone(&self) -> ArchetypeRow
fn clone(&self) -> ArchetypeRow
Returns a duplicate 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 Debug for ArchetypeRow
impl Debug for ArchetypeRow
Source§impl PartialEq for ArchetypeRow
impl PartialEq for ArchetypeRow
impl Copy for ArchetypeRow
impl Eq for ArchetypeRow
impl StructuralPartialEq for ArchetypeRow
Auto Trait Implementations§
impl Freeze for ArchetypeRow
impl RefUnwindSafe for ArchetypeRow
impl Send for ArchetypeRow
impl Sync for ArchetypeRow
impl Unpin for ArchetypeRow
impl UnwindSafe for ArchetypeRow
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.