pub enum BallTrajectoryIntegration {
SemiImplicitEuler,
ClosedForm,
}Variants§
SemiImplicitEuler
Match Rocket League’s fixed-step simulation style by applying acceleration to velocity before integrating position for each substep.
ClosedForm
Use closed-form constant-acceleration displacement for each substep.
Trait Implementations§
Source§impl Clone for BallTrajectoryIntegration
impl Clone for BallTrajectoryIntegration
Source§fn clone(&self) -> BallTrajectoryIntegration
fn clone(&self) -> BallTrajectoryIntegration
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 BallTrajectoryIntegration
Source§impl Debug for BallTrajectoryIntegration
impl Debug for BallTrajectoryIntegration
Source§impl Default for BallTrajectoryIntegration
impl Default for BallTrajectoryIntegration
Source§fn default() -> BallTrajectoryIntegration
fn default() -> BallTrajectoryIntegration
Returns the “default value” for a type. Read more
impl Eq for BallTrajectoryIntegration
Source§impl PartialEq for BallTrajectoryIntegration
impl PartialEq for BallTrajectoryIntegration
Source§fn eq(&self, other: &BallTrajectoryIntegration) -> bool
fn eq(&self, other: &BallTrajectoryIntegration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallTrajectoryIntegration
Auto Trait Implementations§
impl Freeze for BallTrajectoryIntegration
impl RefUnwindSafe for BallTrajectoryIntegration
impl Send for BallTrajectoryIntegration
impl Sync for BallTrajectoryIntegration
impl Unpin for BallTrajectoryIntegration
impl UnsafeUnpin for BallTrajectoryIntegration
impl UnwindSafe for BallTrajectoryIntegration
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