pub struct PrismaticJointDef {
pub base: JointDef,
pub enable_spring: bool,
pub hertz: f32,
pub damping_ratio: f32,
pub target_translation: f32,
pub enable_limit: bool,
pub lower_translation: f32,
pub upper_translation: f32,
pub enable_motor: bool,
pub max_motor_force: f32,
pub motor_speed: f32,
}Expand description
Prismatic joint: body B slides along frame A x-axis. (b3PrismaticJointDef)
Fields§
§base: JointDef§enable_spring: bool§hertz: f32§damping_ratio: f32§target_translation: f32§enable_limit: bool§lower_translation: f32§upper_translation: f32§enable_motor: bool§max_motor_force: f32§motor_speed: f32Trait Implementations§
Source§impl Clone for PrismaticJointDef
impl Clone for PrismaticJointDef
Source§fn clone(&self) -> PrismaticJointDef
fn clone(&self) -> PrismaticJointDef
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 PrismaticJointDef
Source§impl Debug for PrismaticJointDef
impl Debug for PrismaticJointDef
Source§impl Default for PrismaticJointDef
impl Default for PrismaticJointDef
Source§impl PartialEq for PrismaticJointDef
impl PartialEq for PrismaticJointDef
impl StructuralPartialEq for PrismaticJointDef
Auto Trait Implementations§
impl Freeze for PrismaticJointDef
impl RefUnwindSafe for PrismaticJointDef
impl Send for PrismaticJointDef
impl Sync for PrismaticJointDef
impl Unpin for PrismaticJointDef
impl UnsafeUnpin for PrismaticJointDef
impl UnwindSafe for PrismaticJointDef
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