pub struct BallGoalLineCrossingConfig {
pub target_goal_y: f32,
pub max_seconds: f32,
pub goal_mouth_half_width_x: f32,
pub goal_mouth_height_z: f32,
pub goal_mouth_margin: f32,
}Fields§
§target_goal_y: f32§max_seconds: f32§goal_mouth_half_width_x: f32§goal_mouth_height_z: f32§goal_mouth_margin: f32Implementations§
Source§impl BallGoalLineCrossingConfig
impl BallGoalLineCrossingConfig
pub const fn team_zero_attacking_goal() -> Self
pub const fn team_one_attacking_goal() -> Self
pub const fn attacking_goal(is_team_0: bool) -> Self
Trait Implementations§
Source§impl Clone for BallGoalLineCrossingConfig
impl Clone for BallGoalLineCrossingConfig
Source§fn clone(&self) -> BallGoalLineCrossingConfig
fn clone(&self) -> BallGoalLineCrossingConfig
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 BallGoalLineCrossingConfig
Source§impl Debug for BallGoalLineCrossingConfig
impl Debug for BallGoalLineCrossingConfig
Source§impl PartialEq for BallGoalLineCrossingConfig
impl PartialEq for BallGoalLineCrossingConfig
Source§fn eq(&self, other: &BallGoalLineCrossingConfig) -> bool
fn eq(&self, other: &BallGoalLineCrossingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallGoalLineCrossingConfig
Auto Trait Implementations§
impl Freeze for BallGoalLineCrossingConfig
impl RefUnwindSafe for BallGoalLineCrossingConfig
impl Send for BallGoalLineCrossingConfig
impl Sync for BallGoalLineCrossingConfig
impl Unpin for BallGoalLineCrossingConfig
impl UnsafeUnpin for BallGoalLineCrossingConfig
impl UnwindSafe for BallGoalLineCrossingConfig
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