Struct ark_api::world::D6SpringParams
source · pub struct D6SpringParams {
pub stiffness: f32,
pub damping: f32,
}Expand description
The parameters for a simple spring.
Fields§
§stiffness: f32Stiffness of the spring
damping: f32Damping of the spring.
Trait Implementations§
source§impl Clone for D6SpringParams
impl Clone for D6SpringParams
source§fn clone(&self) -> D6SpringParams
fn clone(&self) -> D6SpringParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for D6SpringParams
impl Debug for D6SpringParams
source§impl ValueConverterTrait<D6SpringParams> for ValueConverter
impl ValueConverterTrait<D6SpringParams> for ValueConverter
source§fn into_value(v: D6SpringParams) -> Value
fn into_value(v: D6SpringParams) -> Value
Wraps the passed-in value in a
Value enum.source§fn from_value(v: &Value) -> D6SpringParams
fn from_value(v: &Value) -> D6SpringParams
Extracts the value from a
Value enum.impl Copy for D6SpringParams
Auto Trait Implementations§
impl RefUnwindSafe for D6SpringParams
impl Send for D6SpringParams
impl Sync for D6SpringParams
impl Unpin for D6SpringParams
impl UnwindSafe for D6SpringParams
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