pub struct TeamChunk<'a> {
pub spawn_tick: &'a mut [u64],
pub team_tick: &'a mut [u64],
pub mark: &'a mut [u64],
pub color: &'a mut [u8],
pub pos_x: &'a mut [f32],
pub pos_y: &'a mut [f32],
}Expand description
The slice of each writable lane that one chunk owns.
Fields§
§spawn_tick: &'a mut [u64]Slice of the spawn_tick lane that the chunk owns.
team_tick: &'a mut [u64]Slice of the team_tick lane that the chunk owns.
mark: &'a mut [u64]Slice of the mark lane that the chunk owns.
color: &'a mut [u8]Slice of the color lane that the chunk owns.
pos_x: &'a mut [f32]Slice of the pos_x lane that the chunk owns.
pos_y: &'a mut [f32]Slice of the pos_y lane that the chunk owns.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for TeamChunk<'a>
impl<'a> Freeze for TeamChunk<'a>
impl<'a> RefUnwindSafe for TeamChunk<'a>
impl<'a> Send for TeamChunk<'a>
impl<'a> Sync for TeamChunk<'a>
impl<'a> Unpin for TeamChunk<'a>
impl<'a> UnsafeUnpin for TeamChunk<'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
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