pub struct ConfigSet {
pub game_config: Arc<GameConfig>,
pub unit_config: Arc<UnitConfig>,
pub board_config: Arc<BoardConfig>,
}Expand description
A struct encapsulating a set of configs needed to run a lobby.
Fields§
§game_config: Arc<GameConfig>§unit_config: Arc<UnitConfig>§board_config: Arc<BoardConfig>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigSet
impl !RefUnwindSafe for ConfigSet
impl Send for ConfigSet
impl Sync for ConfigSet
impl Unpin for ConfigSet
impl !UnwindSafe for ConfigSet
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