pub struct BallTrajectoryConfig {
pub gravity: Vec3,
pub max_speed: f32,
pub tick_rate_hz: f32,
pub integration: BallTrajectoryIntegration,
}Fields§
§gravity: Vec3§max_speed: f32§tick_rate_hz: f32§integration: BallTrajectoryIntegrationImplementations§
Source§impl BallTrajectoryConfig
impl BallTrajectoryConfig
pub const STANDARD_SOCCAR: Self
Trait Implementations§
Source§impl Clone for BallTrajectoryConfig
impl Clone for BallTrajectoryConfig
Source§fn clone(&self) -> BallTrajectoryConfig
fn clone(&self) -> BallTrajectoryConfig
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 BallTrajectoryConfig
Source§impl Debug for BallTrajectoryConfig
impl Debug for BallTrajectoryConfig
Source§impl Default for BallTrajectoryConfig
impl Default for BallTrajectoryConfig
Source§impl PartialEq for BallTrajectoryConfig
impl PartialEq for BallTrajectoryConfig
Source§fn eq(&self, other: &BallTrajectoryConfig) -> bool
fn eq(&self, other: &BallTrajectoryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallTrajectoryConfig
Auto Trait Implementations§
impl Freeze for BallTrajectoryConfig
impl RefUnwindSafe for BallTrajectoryConfig
impl Send for BallTrajectoryConfig
impl Sync for BallTrajectoryConfig
impl Unpin for BallTrajectoryConfig
impl UnsafeUnpin for BallTrajectoryConfig
impl UnwindSafe for BallTrajectoryConfig
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