pub enum MatchmakingMode {
AgainstBuiltinAI,
Pairs,
Singleplayer,
RemoteController,
}
Variants§
AgainstBuiltinAI
Runs every connecting bot against a builtin AI
Pairs
Runs bot against each other in pairs, in connection order
Singleplayer
Singleplayer (allowed in singleplayer maps only)
RemoteController
Uses remote controller endpoint to coordinate
Trait Implementations§
Source§impl Clone for MatchmakingMode
impl Clone for MatchmakingMode
Source§fn clone(&self) -> MatchmakingMode
fn clone(&self) -> MatchmakingMode
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 MatchmakingMode
impl Debug for MatchmakingMode
Source§impl Default for MatchmakingMode
impl Default for MatchmakingMode
Source§impl<'de> Deserialize<'de> for MatchmakingMode
impl<'de> Deserialize<'de> for MatchmakingMode
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 MatchmakingMode
impl PartialEq for MatchmakingMode
Source§impl Serialize for MatchmakingMode
impl Serialize for MatchmakingMode
impl Copy for MatchmakingMode
impl Eq for MatchmakingMode
impl StructuralPartialEq for MatchmakingMode
Auto Trait Implementations§
impl Freeze for MatchmakingMode
impl RefUnwindSafe for MatchmakingMode
impl Send for MatchmakingMode
impl Sync for MatchmakingMode
impl Unpin for MatchmakingMode
impl UnwindSafe for MatchmakingMode
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
)