pub struct Matchmaking {
pub mode: MatchmakingMode,
pub cpu_difficulty: Difficulty,
pub cpu_race: Race,
}
Fields§
§mode: MatchmakingMode
§cpu_difficulty: Difficulty
Builtin AI difficulty, used with some modes
cpu_race: Race
Builtin AI race, used with some modes
Trait Implementations§
Source§impl Clone for Matchmaking
impl Clone for Matchmaking
Source§fn clone(&self) -> Matchmaking
fn clone(&self) -> Matchmaking
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Matchmaking
impl Debug for Matchmaking
Source§impl Default for Matchmaking
impl Default for Matchmaking
Source§fn default() -> Matchmaking
fn default() -> Matchmaking
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Matchmaking
impl<'de> Deserialize<'de> for Matchmaking
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Matchmaking
impl PartialEq for Matchmaking
Source§impl Serialize for Matchmaking
impl Serialize for Matchmaking
impl StructuralPartialEq for Matchmaking
Auto Trait Implementations§
impl Freeze for Matchmaking
impl RefUnwindSafe for Matchmaking
impl Send for Matchmaking
impl Sync for Matchmaking
impl Unpin for Matchmaking
impl UnwindSafe for Matchmaking
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)