Struct ark_api::world::D6SpringParams
source · [−]Expand description
The parameters for a simple spring.
Fields
stiffness: f32
Stiffness of the spring
damping: f32
Damping of the spring.
Trait Implementations
sourceimpl Clone for D6SpringParams
impl Clone for D6SpringParams
sourcefn clone(&self) -> D6SpringParams
fn clone(&self) -> D6SpringParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for D6SpringParams
impl Debug for D6SpringParams
sourceimpl ValueConverterTrait<D6SpringParams> for ValueConverter
impl ValueConverterTrait<D6SpringParams> for ValueConverter
sourcefn into_value(v: D6SpringParams) -> Value
fn into_value(v: D6SpringParams) -> Value
Wraps the passed-in value in a Value
enum.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more