Struct oxygengine_core::ecs::world::Generation [−][src]
pub struct Generation(_);
Index generation. When a new entity is placed at an old index,
it bumps the Generation
by 1. This allows to avoid using components
from the entities that were deleted.
Implementations
impl Generation
[src]
impl Generation
[src]Trait Implementations
impl Clone for Generation
[src]
impl Clone for Generation
[src]pub fn clone(&self) -> Generation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Generation
[src]
impl Copy for Generation
[src]impl Eq for Generation
[src]
impl Eq for Generation
[src]impl Hash for Generation
[src]
impl Hash for Generation
[src]impl Ord for Generation
[src]
impl Ord for Generation
[src]impl PartialEq<Generation> for Generation
[src]
impl PartialEq<Generation> for Generation
[src]pub fn eq(&self, other: &Generation) -> bool
[src]
pub fn ne(&self, other: &Generation) -> bool
[src]
impl PartialOrd<Generation> for Generation
[src]
impl PartialOrd<Generation> for Generation
[src]pub fn partial_cmp(&self, other: &Generation) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for Generation
[src]
impl StructuralEq for Generation
[src]impl StructuralPartialEq for Generation
[src]
impl StructuralPartialEq for Generation
[src]Auto Trait Implementations
impl RefUnwindSafe for Generation
impl RefUnwindSafe for Generation
impl Send for Generation
impl Send for Generation
impl Sync for Generation
impl Sync for Generation
impl Unpin for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
impl UnwindSafe for Generation