pub struct RevoluteJointDef {
pub base: JointDef,
pub target_angle: f32,
pub enable_spring: bool,
pub hertz: f32,
pub damping_ratio: f32,
pub enable_limit: bool,
pub lower_angle: f32,
pub upper_angle: f32,
pub enable_motor: bool,
pub max_motor_torque: f32,
pub motor_speed: f32,
}Expand description
Revolute joint: point constraint with relative rotation about z. (b3RevoluteJointDef)
Fields§
§base: JointDef§target_angle: f32§enable_spring: bool§hertz: f32§damping_ratio: f32§enable_limit: bool§lower_angle: f32§upper_angle: f32§enable_motor: bool§max_motor_torque: f32§motor_speed: f32Trait Implementations§
Source§impl Clone for RevoluteJointDef
impl Clone for RevoluteJointDef
Source§fn clone(&self) -> RevoluteJointDef
fn clone(&self) -> RevoluteJointDef
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 RevoluteJointDef
Source§impl Debug for RevoluteJointDef
impl Debug for RevoluteJointDef
Source§impl Default for RevoluteJointDef
impl Default for RevoluteJointDef
Source§impl PartialEq for RevoluteJointDef
impl PartialEq for RevoluteJointDef
impl StructuralPartialEq for RevoluteJointDef
Auto Trait Implementations§
impl Freeze for RevoluteJointDef
impl RefUnwindSafe for RevoluteJointDef
impl Send for RevoluteJointDef
impl Sync for RevoluteJointDef
impl Unpin for RevoluteJointDef
impl UnsafeUnpin for RevoluteJointDef
impl UnwindSafe for RevoluteJointDef
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