pub struct FrictionContact {
pub id: &'static str,
pub owner_key: &'static str,
}Expand description
A friction contact with a Coulomb, viscous and Stribeck model, for the friction view: the id its signals start
with (see FRICTION_SIGNALS) and who it belongs to, as a translation key.
Fields§
§id: &'static str§owner_key: &'static strTrait Implementations§
Source§impl Clone for FrictionContact
impl Clone for FrictionContact
Source§fn clone(&self) -> FrictionContact
fn clone(&self) -> FrictionContact
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 Debug for FrictionContact
impl Debug for FrictionContact
Source§impl PartialEq for FrictionContact
impl PartialEq for FrictionContact
Source§fn eq(&self, other: &FrictionContact) -> bool
fn eq(&self, other: &FrictionContact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrictionContact
Auto Trait Implementations§
impl Freeze for FrictionContact
impl RefUnwindSafe for FrictionContact
impl Send for FrictionContact
impl Sync for FrictionContact
impl Unpin for FrictionContact
impl UnsafeUnpin for FrictionContact
impl UnwindSafe for FrictionContact
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