pub struct ConstraintMotor {
pub target_velocity: f32,
pub max_force: f32,
pub target_position: Option<f32>,
pub stiffness: f32,
pub damping: f32,
}Fields§
§target_velocity: f32§max_force: f32§target_position: Option<f32>§stiffness: f32§damping: f32Trait Implementations§
Source§impl Clone for ConstraintMotor
impl Clone for ConstraintMotor
Source§fn clone(&self) -> ConstraintMotor
fn clone(&self) -> ConstraintMotor
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 ConstraintMotor
Auto Trait Implementations§
impl Freeze for ConstraintMotor
impl RefUnwindSafe for ConstraintMotor
impl Send for ConstraintMotor
impl Sync for ConstraintMotor
impl Unpin for ConstraintMotor
impl UnsafeUnpin for ConstraintMotor
impl UnwindSafe for ConstraintMotor
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