pub struct GameState {
pub num_stars: i32,
pub pos: [f32; 3],
pub vel: [f32; 3],
pub lakitu_pos: [f32; 3],
pub lakitu_yaw: i32,
pub in_credits: i32,
pub course_num: i32,
pub act_num: i32,
pub area_index: i32,
}Fields§
§num_stars: i32§pos: [f32; 3]§vel: [f32; 3]§lakitu_pos: [f32; 3]§lakitu_yaw: i32§in_credits: i32§course_num: i32§act_num: i32§area_index: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GameState
impl RefUnwindSafe for GameState
impl Send for GameState
impl Sync for GameState
impl Unpin for GameState
impl UnwindSafe for GameState
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