pub struct MovingColumns<'a> {
pub entities: &'a [EntityId],
pub transforms: &'a mut [Transform],
pub velocities: &'a mut [Velocity],
}Expand description
Disjoint mutable columns borrowed from the moving archetype; structural changes cannot occur while this value is borrowed. Component types preserve numeric validity.
Fields§
§entities: &'a [EntityId]Row-aligned stable identities.
transforms: &'a mut [Transform]Aligned contiguous transforms.
velocities: &'a mut [Velocity]Aligned contiguous velocities.
Auto Trait Implementations§
impl<'a> !UnwindSafe for MovingColumns<'a>
impl<'a> Freeze for MovingColumns<'a>
impl<'a> RefUnwindSafe for MovingColumns<'a>
impl<'a> Send for MovingColumns<'a>
impl<'a> Sync for MovingColumns<'a>
impl<'a> Unpin for MovingColumns<'a>
impl<'a> UnsafeUnpin for MovingColumns<'a>
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