[][src]Struct rlbot::ffi::MatchSettings

#[repr(C)]
pub struct MatchSettings { pub PlayerConfiguration: [PlayerConfiguration; 10], pub NumPlayers: c_int, pub GameMode: GameMode, pub GameMap: GameMap, pub SkipReplays: bool, pub InstantStart: bool, pub MutatorSettings: MutatorSettings, }

Fields

PlayerConfiguration: [PlayerConfiguration; 10]NumPlayers: c_intGameMode: GameModeGameMap: GameMapSkipReplays: boolInstantStart: boolMutatorSettings: MutatorSettings

Methods

impl MatchSettings[src]

pub fn rlbot_vs_allstar(rlbot_name: &str, allstar_name: &str) -> Self[src]

Create a MatchSettings for a 1v1 game with Team Blue as an RLBot-controlled bot, and Team Orange as a Psyonix all-star bot.

pub fn allstar_vs_allstar(blue_name: &str, orange_name: &str) -> Self[src]

Create a MatchSettings for a 1v1 game with two Psyonix all-star bots.

Trait Implementations

impl Copy for MatchSettings[src]

impl Clone for MatchSettings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for MatchSettings[src]

impl Debug for MatchSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,