Struct chipmunk_sys::Struct_cpDampedSpring
[−]
[src]
#[repr(C)]pub struct Struct_cpDampedSpring { pub constraint: cpConstraint, pub anchorA: cpVect, pub anchorB: cpVect, pub restLength: cpFloat, pub stiffness: cpFloat, pub damping: cpFloat, pub springForceFunc: cpDampedSpringForceFunc, pub target_vrn: cpFloat, pub v_coef: cpFloat, pub r1: cpVect, pub r2: cpVect, pub nMass: cpFloat, pub n: cpVect, pub jAcc: cpFloat, }
Fields
constraint: cpConstraint
anchorA: cpVect
anchorB: cpVect
restLength: cpFloat
stiffness: cpFloat
damping: cpFloat
springForceFunc: cpDampedSpringForceFunc
target_vrn: cpFloat
v_coef: cpFloat
r1: cpVect
r2: cpVect
nMass: cpFloat
n: cpVect
jAcc: cpFloat
Trait Implementations
impl Copy for Struct_cpDampedSpring
[src]
impl Clone for Struct_cpDampedSpring
[src]
fn clone(&self) -> Struct_cpDampedSpring
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
impl Default for Struct_cpDampedSpring
[src]
fn default() -> Struct_cpDampedSpring
Returns the "default value" for a type. Read more