pub struct ArchetypeGeneration(/* private fields */);
Expand description
The next ArchetypeId
in an Archetypes
collection.
This is used in archetype update methods to limit archetype updates to the ones added since the last time the method ran.
Implementations§
Trait Implementations§
Source§impl Clone for ArchetypeGeneration
impl Clone for ArchetypeGeneration
Source§fn clone(&self) -> ArchetypeGeneration
fn clone(&self) -> ArchetypeGeneration
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 Debug for ArchetypeGeneration
impl Debug for ArchetypeGeneration
Source§impl PartialEq for ArchetypeGeneration
impl PartialEq for ArchetypeGeneration
impl Copy for ArchetypeGeneration
impl StructuralPartialEq for ArchetypeGeneration
Auto Trait Implementations§
impl Freeze for ArchetypeGeneration
impl RefUnwindSafe for ArchetypeGeneration
impl Send for ArchetypeGeneration
impl Sync for ArchetypeGeneration
impl Unpin for ArchetypeGeneration
impl UnwindSafe for ArchetypeGeneration
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