pub struct BallGoalTargetHit {
pub time: f32,
pub position: Vec3,
pub velocity: Option<Vec3>,
pub hit_kind: BallGoalTargetHitKind,
}Fields§
§time: f32§position: Vec3§velocity: Option<Vec3>§hit_kind: BallGoalTargetHitKindTrait Implementations§
Source§impl Clone for BallGoalTargetHit
impl Clone for BallGoalTargetHit
Source§fn clone(&self) -> BallGoalTargetHit
fn clone(&self) -> BallGoalTargetHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BallGoalTargetHit
Source§impl Debug for BallGoalTargetHit
impl Debug for BallGoalTargetHit
Source§impl PartialEq for BallGoalTargetHit
impl PartialEq for BallGoalTargetHit
Source§fn eq(&self, other: &BallGoalTargetHit) -> bool
fn eq(&self, other: &BallGoalTargetHit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallGoalTargetHit
Auto Trait Implementations§
impl Freeze for BallGoalTargetHit
impl RefUnwindSafe for BallGoalTargetHit
impl Send for BallGoalTargetHit
impl Sync for BallGoalTargetHit
impl Unpin for BallGoalTargetHit
impl UnsafeUnpin for BallGoalTargetHit
impl UnwindSafe for BallGoalTargetHit
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