pub struct ParallelJointDef {
pub base: JointDef,
pub hertz: f32,
pub damping_ratio: f32,
pub max_torque: f32,
}Expand description
Parallel joint: spring between body A z-axis and body B z-axis. (b3ParallelJointDef)
Fields§
§base: JointDef§hertz: f32§damping_ratio: f32§max_torque: f32Trait Implementations§
Source§impl Clone for ParallelJointDef
impl Clone for ParallelJointDef
Source§fn clone(&self) -> ParallelJointDef
fn clone(&self) -> ParallelJointDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParallelJointDef
Source§impl Debug for ParallelJointDef
impl Debug for ParallelJointDef
Source§impl Default for ParallelJointDef
impl Default for ParallelJointDef
Source§impl PartialEq for ParallelJointDef
impl PartialEq for ParallelJointDef
impl StructuralPartialEq for ParallelJointDef
Auto Trait Implementations§
impl Freeze for ParallelJointDef
impl RefUnwindSafe for ParallelJointDef
impl Send for ParallelJointDef
impl Sync for ParallelJointDef
impl Unpin for ParallelJointDef
impl UnsafeUnpin for ParallelJointDef
impl UnwindSafe for ParallelJointDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more