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