pub struct GoalEvent {
pub time: f32,
pub frame: usize,
pub scoring_team_is_team_0: bool,
pub player: Option<PlayerId>,
pub team_zero_score: Option<i32>,
pub team_one_score: Option<i32>,
}Fields§
§time: f32§frame: usize§scoring_team_is_team_0: bool§player: Option<PlayerId>§team_zero_score: Option<i32>§team_one_score: Option<i32>Trait Implementations§
impl StructuralPartialEq for GoalEvent
Auto Trait Implementations§
impl Freeze for GoalEvent
impl RefUnwindSafe for GoalEvent
impl Send for GoalEvent
impl Sync for GoalEvent
impl Unpin for GoalEvent
impl UnsafeUnpin for GoalEvent
impl UnwindSafe for GoalEvent
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