pub enum StorageKind {
Sparse,
Table,
}Expand description
Where registered component data is stored in the world.
Variants§
Sparse
Per-entity sparse set; default for tags and ordinary data components today.
Table
Archetype column storage for table-backed components (Phase 3).
Trait Implementations§
Source§impl Clone for StorageKind
impl Clone for StorageKind
Source§fn clone(&self) -> StorageKind
fn clone(&self) -> StorageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StorageKind
Source§impl Debug for StorageKind
impl Debug for StorageKind
impl Eq for StorageKind
Source§impl Hash for StorageKind
impl Hash for StorageKind
Source§impl PartialEq for StorageKind
impl PartialEq for StorageKind
impl StructuralPartialEq for StorageKind
Auto Trait Implementations§
impl Freeze for StorageKind
impl RefUnwindSafe for StorageKind
impl Send for StorageKind
impl Sync for StorageKind
impl Unpin for StorageKind
impl UnsafeUnpin for StorageKind
impl UnwindSafe for StorageKind
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