pub struct PlayerSample {Show 13 fields
pub player_id: PlayerId,
pub is_team_0: bool,
pub rigid_body: Option<RigidBody>,
pub boost_amount: Option<f32>,
pub last_boost_amount: Option<f32>,
pub boost_active: bool,
pub dodge_active: bool,
pub powerslide_active: bool,
pub match_goals: Option<i32>,
pub match_assists: Option<i32>,
pub match_saves: Option<i32>,
pub match_shots: Option<i32>,
pub match_score: Option<i32>,
}Fields§
§player_id: PlayerId§is_team_0: bool§rigid_body: Option<RigidBody>§boost_amount: Option<f32>§last_boost_amount: Option<f32>§boost_active: bool§dodge_active: bool§powerslide_active: bool§match_goals: Option<i32>§match_assists: Option<i32>§match_saves: Option<i32>§match_shots: Option<i32>§match_score: Option<i32>Implementations§
Trait Implementations§
Source§impl Clone for PlayerSample
impl Clone for PlayerSample
Source§fn clone(&self) -> PlayerSample
fn clone(&self) -> PlayerSample
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PlayerSample
impl RefUnwindSafe for PlayerSample
impl Send for PlayerSample
impl Sync for PlayerSample
impl Unpin for PlayerSample
impl UnsafeUnpin for PlayerSample
impl UnwindSafe for PlayerSample
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