pub struct DynamicsConfig<T> {
pub gravity: [T; 3],
pub forward_dynamics: ForwardDynamicsMethod,
}Expand description
Configuration for inverse/forward dynamics routines.
Fields§
§gravity: [T; 3]World-frame gravity vector [gx, gy, gz].
forward_dynamics: ForwardDynamicsMethodForward dynamics algorithm (ABA default; CRBA+LU fallback).
Trait Implementations§
Source§impl<T: Clone> Clone for DynamicsConfig<T>
impl<T: Clone> Clone for DynamicsConfig<T>
Source§fn clone(&self) -> DynamicsConfig<T>
fn clone(&self) -> DynamicsConfig<T>
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 moreSource§impl<T: Debug> Debug for DynamicsConfig<T>
impl<T: Debug> Debug for DynamicsConfig<T>
Source§impl<T: NabledReal> Default for DynamicsConfig<T>
impl<T: NabledReal> Default for DynamicsConfig<T>
Source§impl<T: PartialEq> PartialEq for DynamicsConfig<T>
impl<T: PartialEq> PartialEq for DynamicsConfig<T>
Source§fn eq(&self, other: &DynamicsConfig<T>) -> bool
fn eq(&self, other: &DynamicsConfig<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Copy> Copy for DynamicsConfig<T>
impl<T> StructuralPartialEq for DynamicsConfig<T>
Auto Trait Implementations§
impl<T> Freeze for DynamicsConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for DynamicsConfig<T>where
T: RefUnwindSafe,
impl<T> Send for DynamicsConfig<T>where
T: Send,
impl<T> Sync for DynamicsConfig<T>where
T: Sync,
impl<T> Unpin for DynamicsConfig<T>where
T: Unpin,
impl<T> UnsafeUnpin for DynamicsConfig<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DynamicsConfig<T>where
T: UnwindSafe,
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