Struct rhusics_core::SingleChangeSet [] [src]

pub struct SingleChangeSet<P, R, A> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>,
    A: Clone
{ /* fields omitted */ }

Changes computed from contact resolution.

Optionally contains the new pose and/or velocity of a body after contact resolution.

Type parameters:

  • P: Point type, usually Point2 or Point3
  • R: Rotational quantity, usually Basis2 or Quaternion
  • A: Angular velocity, usually Scalar or Vector3

Methods

impl<P, R, A> SingleChangeSet<P, R, A> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>,
    A: Clone
[src]

[src]

Apply any changes to the next frame pose and/or velocity

Trait Implementations

impl<P: Debug, R: Debug, A: Debug> Debug for SingleChangeSet<P, R, A> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>,
    A: Clone,
    P::Diff: Debug
[src]

[src]

Formats the value using the given formatter.

impl<P: PartialEq, R: PartialEq, A: PartialEq> PartialEq for SingleChangeSet<P, R, A> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>,
    A: Clone,
    P::Diff: PartialEq
[src]

[src]

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

[src]

This method tests for !=.

impl<P, R, A> Default for SingleChangeSet<P, R, A> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>,
    A: Clone
[src]

[src]

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