[][src]Struct rlbot::ffi::PlayerConfiguration

#[repr(C)]
pub struct PlayerConfiguration { pub Bot: bool, pub RLBotControlled: bool, pub BotSkill: f32, pub HumanIndex: c_int, pub Name: [u16; 32], pub Team: c_uchar, pub TeamColorID: c_uchar, pub CustomColorID: c_uchar, pub CarID: c_int, pub DecalID: c_int, pub WheelsID: c_int, pub BoostID: c_int, pub AntennaID: c_int, pub HatID: c_int, pub PaintFinishID: c_int, pub CustomFinishID: c_int, pub EngineAudioID: c_int, pub TrailsID: c_int, pub GoalExplosionID: c_int, pub CarPaintID: c_int, pub DecalPaintID: c_int, pub WheelsPaintID: c_int, pub BoostPaintID: c_int, pub AntennaPaintID: c_int, pub HatPaintID: c_int, pub TrailsPaintID: c_int, pub GoalExplosionPaintID: c_int, }

Fields

Bot: boolRLBotControlled: boolBotSkill: f32HumanIndex: c_intName: [u16; 32]Team: c_ucharTeamColorID: c_ucharCustomColorID: c_ucharCarID: c_intDecalID: c_intWheelsID: c_intBoostID: c_intAntennaID: c_intHatID: c_intPaintFinishID: c_intCustomFinishID: c_intEngineAudioID: c_intTrailsID: c_intGoalExplosionID: c_intCarPaintID: c_intDecalPaintID: c_intWheelsPaintID: c_intBoostPaintID: c_intAntennaPaintID: c_intHatPaintID: c_intTrailsPaintID: c_intGoalExplosionPaintID: c_int

Methods

impl PlayerConfiguration[src]

pub fn set_name(&mut self, name: &str)[src]

Populate the Name field from a string.

Trait Implementations

impl Copy for PlayerConfiguration[src]

impl Clone for PlayerConfiguration[src]

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

Performs copy-assignment from source. Read more

impl Default for PlayerConfiguration[src]

impl Debug for PlayerConfiguration[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>,