pub struct DynamicsUpdate {Show 20 fields
pub mass: Option<f64>,
pub local_inertia_diagonal: Option<[f64; 3]>,
pub anisotropic_friction: Option<[f64; 3]>,
pub joint_limit: Option<(f64, f64)>,
pub joint_limit_force: Option<f64>,
pub dynamic_type: Option<i32>,
pub lateral_friction: Option<f64>,
pub spinning_friction: Option<f64>,
pub rolling_friction: Option<f64>,
pub restitution: Option<f64>,
pub linear_damping: Option<f64>,
pub angular_damping: Option<f64>,
pub joint_damping: Option<f64>,
pub contact_stiffness_and_damping: Option<(f64, f64)>,
pub friction_anchor: Option<bool>,
pub ccd_swept_sphere_radius: Option<f64>,
pub contact_processing_threshold: Option<f64>,
pub activation_state: Option<i32>,
pub max_joint_velocity: Option<f64>,
pub collision_margin: Option<f64>,
}Fields§
§mass: Option<f64>§local_inertia_diagonal: Option<[f64; 3]>§anisotropic_friction: Option<[f64; 3]>§joint_limit: Option<(f64, f64)>§joint_limit_force: Option<f64>§dynamic_type: Option<i32>§lateral_friction: Option<f64>§spinning_friction: Option<f64>§rolling_friction: Option<f64>§restitution: Option<f64>§linear_damping: Option<f64>§angular_damping: Option<f64>§joint_damping: Option<f64>§contact_stiffness_and_damping: Option<(f64, f64)>§friction_anchor: Option<bool>§ccd_swept_sphere_radius: Option<f64>§contact_processing_threshold: Option<f64>§activation_state: Option<i32>§max_joint_velocity: Option<f64>§collision_margin: Option<f64>Trait Implementations§
Source§impl Clone for DynamicsUpdate
impl Clone for DynamicsUpdate
Source§fn clone(&self) -> DynamicsUpdate
fn clone(&self) -> DynamicsUpdate
Returns a duplicate 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 DynamicsUpdate
impl Debug for DynamicsUpdate
Source§impl Default for DynamicsUpdate
impl Default for DynamicsUpdate
Source§fn default() -> DynamicsUpdate
fn default() -> DynamicsUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicsUpdate
impl RefUnwindSafe for DynamicsUpdate
impl Send for DynamicsUpdate
impl Sync for DynamicsUpdate
impl Unpin for DynamicsUpdate
impl UnwindSafe for DynamicsUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.