struct Lobby {
lobby_id: LobbyId,
players: usize,
max_players: usize,
game_running: bool,
board_config: Arc<BoardConfig>,
game_config: Arc<GameConfig>,
unit_config: Arc<UnitConfig>,
}Fields§
§lobby_id: LobbyId§players: usize§max_players: usize§game_running: bool§board_config: Arc<BoardConfig>§game_config: Arc<GameConfig>§unit_config: Arc<UnitConfig>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lobby
impl !RefUnwindSafe for Lobby
impl Send for Lobby
impl Sync for Lobby
impl Unpin for Lobby
impl !UnwindSafe for Lobby
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