#[repr(C)]pub struct _mjContact {Show 14 fields
pub dist: mjtNum,
pub pos: [mjtNum; 3],
pub frame: [mjtNum; 9],
pub includemargin: mjtNum,
pub friction: [mjtNum; 5],
pub solref: [mjtNum; 2],
pub solimp: [mjtNum; 5],
pub mu: mjtNum,
pub H: [mjtNum; 36],
pub dim: c_int,
pub geom1: c_int,
pub geom2: c_int,
pub exclude: c_int,
pub efc_address: c_int,
}Fields§
§dist: mjtNum§pos: [mjtNum; 3]§frame: [mjtNum; 9]§includemargin: mjtNum§friction: [mjtNum; 5]§solref: [mjtNum; 2]§solimp: [mjtNum; 5]§mu: mjtNum§H: [mjtNum; 36]§dim: c_int§geom1: c_int§geom2: c_int§exclude: c_int§efc_address: c_intTrait Implementations§
Source§impl Clone for _mjContact
impl Clone for _mjContact
Source§fn clone(&self) -> _mjContact
fn clone(&self) -> _mjContact
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 Default for _mjContact
impl Default for _mjContact
impl Copy for _mjContact
Auto Trait Implementations§
impl Freeze for _mjContact
impl RefUnwindSafe for _mjContact
impl Send for _mjContact
impl Sync for _mjContact
impl Unpin for _mjContact
impl UnsafeUnpin for _mjContact
impl UnwindSafe for _mjContact
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