pub struct ComponentPage { /* private fields */ }
Expand description
A page of memory that stores the component data for multiple entities in a Structure of Arrays (SoA) layout.
A ComponentPage
is specialized for a single semantic domain (e.g., physics).
It contains multiple columns, where each column is a Vec<T>
for a specific
component type T
. This SoA layout is the key to our high iteration performance,
as it guarantees contiguous data access for native queries.
Auto Trait Implementations§
impl Freeze for ComponentPage
impl !RefUnwindSafe for ComponentPage
impl !Send for ComponentPage
impl !Sync for ComponentPage
impl Unpin for ComponentPage
impl !UnwindSafe for ComponentPage
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