Struct rhusics_core::SingleChangeSet [−][src]
pub struct SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>, { /* fields omitted */ }
Changes computed from contact resolution.
Optionally contains the new pose and/or velocity of a body after contact resolution.
Type parameters:
B
: Transform type (BodyPose3
or similar)P
: Point type, usuallyPoint2
orPoint3
R
: Rotational quantity, usuallyBasis2
orQuaternion
A
: Angular velocity, usuallyScalar
orVector3
Methods
impl<B, P, R, A> SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
[src]
impl<B, P, R, A> SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
pub fn apply(
self,
pose: Option<&mut NextFrame<B>>,
velocity: Option<&mut NextFrame<Velocity<P::Diff, A>>>
)
[src]
pub fn apply(
self,
pose: Option<&mut NextFrame<B>>,
velocity: Option<&mut NextFrame<Velocity<P::Diff, A>>>
)
Apply any changes to the next frame pose and/or velocity
Trait Implementations
impl<B: Debug, P: Debug, R: Debug, A: Debug> Debug for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
P::Diff: Debug,
[src]
impl<B: Debug, P: Debug, R: Debug, A: Debug> Debug for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
P::Diff: Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<B: PartialEq, P: PartialEq, R: PartialEq, A: PartialEq> PartialEq for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
P::Diff: PartialEq,
[src]
impl<B: PartialEq, P: PartialEq, R: PartialEq, A: PartialEq> PartialEq for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
P::Diff: PartialEq,
fn eq(&self, other: &SingleChangeSet<B, P, R, A>) -> bool
[src]
fn eq(&self, other: &SingleChangeSet<B, P, R, A>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SingleChangeSet<B, P, R, A>) -> bool
[src]
fn ne(&self, other: &SingleChangeSet<B, P, R, A>) -> bool
This method tests for !=
.
impl<B, P, R, A> Default for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
[src]
impl<B, P, R, A> Default for SingleChangeSet<B, P, R, A> where
P: EuclideanSpace,
P::Scalar: BaseFloat,
R: Rotation<P>,
A: Clone,
B: Pose<P, R>,
Auto Trait Implementations
impl<B, P, R, A> Send for SingleChangeSet<B, P, R, A> where
A: Send,
B: Send,
P: Send,
R: Send,
<P as EuclideanSpace>::Diff: Send,
impl<B, P, R, A> Send for SingleChangeSet<B, P, R, A> where
A: Send,
B: Send,
P: Send,
R: Send,
<P as EuclideanSpace>::Diff: Send,
impl<B, P, R, A> Sync for SingleChangeSet<B, P, R, A> where
A: Sync,
B: Sync,
P: Sync,
R: Sync,
<P as EuclideanSpace>::Diff: Sync,
impl<B, P, R, A> Sync for SingleChangeSet<B, P, R, A> where
A: Sync,
B: Sync,
P: Sync,
R: Sync,
<P as EuclideanSpace>::Diff: Sync,