pub struct BallGoalLineCrossing {
pub time: f32,
pub position: Vec3,
pub velocity: Option<Vec3>,
pub inside_goal_mouth: bool,
}Fields§
§time: f32§position: Vec3§velocity: Option<Vec3>§inside_goal_mouth: boolTrait Implementations§
Source§impl Clone for BallGoalLineCrossing
impl Clone for BallGoalLineCrossing
Source§fn clone(&self) -> BallGoalLineCrossing
fn clone(&self) -> BallGoalLineCrossing
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 BallGoalLineCrossing
Source§impl Debug for BallGoalLineCrossing
impl Debug for BallGoalLineCrossing
Source§impl PartialEq for BallGoalLineCrossing
impl PartialEq for BallGoalLineCrossing
Source§fn eq(&self, other: &BallGoalLineCrossing) -> bool
fn eq(&self, other: &BallGoalLineCrossing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallGoalLineCrossing
Auto Trait Implementations§
impl Freeze for BallGoalLineCrossing
impl RefUnwindSafe for BallGoalLineCrossing
impl Send for BallGoalLineCrossing
impl Sync for BallGoalLineCrossing
impl Unpin for BallGoalLineCrossing
impl UnsafeUnpin for BallGoalLineCrossing
impl UnwindSafe for BallGoalLineCrossing
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