pub struct BallSample {
pub rigid_body: RigidBody,
}Expand description
A sampled ball state at a frame.
Fields§
§rigid_body: RigidBodyImplementations§
Trait Implementations§
Source§impl Clone for BallSample
impl Clone for BallSample
Source§impl Debug for BallSample
impl Debug for BallSample
Source§impl From<BallSample> for BallFrameState
impl From<BallSample> for BallFrameState
Source§fn from(ball: BallSample) -> Self
fn from(ball: BallSample) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BallSample
impl RefUnwindSafe for BallSample
impl Send for BallSample
impl Sync for BallSample
impl Unpin for BallSample
impl UnsafeUnpin for BallSample
impl UnwindSafe for BallSample
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