[][src]Struct rlbot::DesiredGameInfoState

pub struct DesiredGameInfoState {
    pub world_gravity_z: Option<f32>,
    pub game_speed: Option<f32>,
    // some fields omitted
}

State which can be set for a boost pickup.

Fields

world_gravity_z: Option<f32>

The gravity acceleration.

game_speed: Option<f32>

The game speed multiplier (1.0 is normal speed).

Methods

impl DesiredGameInfoState[src]

pub fn new() -> Self[src]

Constructs a new DesiredGameInfoState.

pub fn world_gravity_z(self, world_gravity_z: f32) -> Self[src]

Sets the gravity acceleration.

pub fn game_speed(self, game_speed: f32) -> Self[src]

Sets the game speed multiplier (1.0 is normal speed).

Trait Implementations

impl Clone for DesiredGameInfoState[src]

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

Performs copy-assignment from source. Read more

impl Default for DesiredGameInfoState[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>,