[][src]Struct rlbot::PlayerInfo

pub struct PlayerInfo {
    pub physics: Physics,
    pub score_info: ScoreInfo,
    pub is_demolished: bool,
    pub has_wheel_contact: bool,
    pub is_supersonic: bool,
    pub is_bot: bool,
    pub jumped: bool,
    pub double_jumped: bool,
    pub name: String,
    pub team: i32,
    pub boost: i32,
    // some fields omitted
}

Fields

physics: Physicsscore_info: ScoreInfois_demolished: boolhas_wheel_contact: bool

True if your wheels are on the ground, the wall, or the ceiling. False if you're midair or turtling.

is_supersonic: boolis_bot: booljumped: bool

True if the player has jumped. Falling off the ceiling / driving off the goal post does not count.

double_jumped: bool

True if player has double jumped. False does not mean you have a jump remaining, because the aerial timer can run out, and that doesn't affect this flag.

name: Stringteam: i32boost: i32

Auto Trait Implementations

impl Send for PlayerInfo

impl Sync for PlayerInfo

Blanket Implementations

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>,