pub struct ColumnSlot {
pub component_index: u32,
pub data: ErasedColumn,
pub changed: Vec<u32>,
pub peak_changed: u32,
pub added: Vec<u32>,
pub peak_added: u32,
}Expand description
One erased column plus its tick columns. data always holds the Vec<T>
of the registered component; a hand-swapped wrong-type box panics on the
next typed access rather than misbehaving. changed restamps on every
mutable access; added stamps when the component arrives on the entity
and rides along through table migrations, which is what the added
query filters compare against.
Fields§
§component_index: u32§data: ErasedColumn§changed: Vec<u32>§peak_changed: u32§added: Vec<u32>§peak_added: u32Auto Trait Implementations§
impl Freeze for ColumnSlot
impl RefUnwindSafe for ColumnSlot
impl Send for ColumnSlot
impl Sync for ColumnSlot
impl Unpin for ColumnSlot
impl UnsafeUnpin for ColumnSlot
impl UnwindSafe for ColumnSlot
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more