pub struct WeldJointDef {
pub base: JointDef,
pub linear_hertz: f32,
pub angular_hertz: f32,
pub linear_damping_ratio: f32,
pub angular_damping_ratio: f32,
}Expand description
Weld joint: rigid connection with optional soft springs. (b3WeldJointDef)
Fields§
§base: JointDef§linear_hertz: f32§angular_hertz: f32§linear_damping_ratio: f32§angular_damping_ratio: f32Trait Implementations§
Source§impl Clone for WeldJointDef
impl Clone for WeldJointDef
Source§fn clone(&self) -> WeldJointDef
fn clone(&self) -> WeldJointDef
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 WeldJointDef
Source§impl Debug for WeldJointDef
impl Debug for WeldJointDef
Source§impl Default for WeldJointDef
impl Default for WeldJointDef
Source§impl PartialEq for WeldJointDef
impl PartialEq for WeldJointDef
impl StructuralPartialEq for WeldJointDef
Auto Trait Implementations§
impl Freeze for WeldJointDef
impl RefUnwindSafe for WeldJointDef
impl Send for WeldJointDef
impl Sync for WeldJointDef
impl Unpin for WeldJointDef
impl UnsafeUnpin for WeldJointDef
impl UnwindSafe for WeldJointDef
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