#[repr(u32)]pub enum GameState {
Show 19 variants
MainMenu = 0,
Editor = 1,
Playing = 2,
Exit = 3,
EditorSongSelect = 4,
SongSelect = 5,
SelectDrawing = 6,
ResultScreen = 7,
Update = 8,
Busy = 9,
MultiplayerLobbySelect = 11,
MultiplayerLobby = 12,
MultiplayerSongSelect = 13,
MultiplayerResultScreen = 14,
OffsetWizard = 16,
MultiplayerResultScreenTagCoop = 17,
MultiplayerResultScreenTeamVs = 18,
SongImport = 19,
Unknown = 20,
}Variants§
MainMenu = 0
Editor = 1
Playing = 2
Exit = 3
EditorSongSelect = 4
SongSelect = 5
SelectDrawing = 6
ResultScreen = 7
Update = 8
Busy = 9
MultiplayerLobbySelect = 11
MultiplayerLobby = 12
MultiplayerSongSelect = 13
MultiplayerResultScreen = 14
OffsetWizard = 16
MultiplayerResultScreenTagCoop = 17
MultiplayerResultScreenTeamVs = 18
SongImport = 19
Unknown = 20
Trait Implementations§
impl Copy for GameState
impl Eq for GameState
impl StructuralPartialEq for GameState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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