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, usually Point2 or Point3
  • R: Rotational quantity, usually Basis2 or Quaternion
  • A: Angular velocity, usually Scalar or Vector3

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]

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]

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]

This method tests for self and other values to be equal, and is used by ==. Read more

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]

Returns the "default value" for a type. Read more

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> Sync for SingleChangeSet<B, P, R, A> where
    A: Sync,
    B: Sync,
    P: Sync,
    R: Sync,
    <P as EuclideanSpace>::Diff: Sync