Struct nphysics2d::resolution::Velocities
[−]
[src]
pub struct Velocities<N: Real> { pub lv: Vector<N>, pub av: Orientation<N>, }
Structure holding the result of the projected gauss seidel solver.
Fields
lv: Vector<N>
Linear velocity.
av: Orientation<N>
Angular velocity.
Methods
impl<N: Real> Velocities<N>
[src]
fn new() -> Velocities<N>
Creates a new Velocities
.
fn reset(&mut self)
Reset this structure to zero.
Trait Implementations
impl<N: PartialEq + Real> PartialEq for Velocities<N>
[src]
fn eq(&self, __arg_0: &Velocities<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Velocities<N>) -> bool
This method tests for !=
.
impl<N: Debug + Real> Debug for Velocities<N>
[src]
impl<N: Clone + Real> Clone for Velocities<N>
[src]
fn clone(&self) -> Velocities<N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more