#[repr(C)]pub struct dContactGeom {
pub pos: dVector3,
pub normal: dVector3,
pub depth: f64,
pub g1: dGeomID,
pub g2: dGeomID,
pub side1: c_int,
pub side2: c_int,
}
Fields§
§pos: dVector3
§normal: dVector3
§depth: f64
§g1: dGeomID
§g2: dGeomID
§side1: c_int
§side2: c_int
Implementations§
Source§impl dContactGeom
impl dContactGeom
Sourcepub fn new() -> dContactGeom
pub fn new() -> dContactGeom
binding construct dContactGeom
Trait Implementations§
Source§impl Clone for dContactGeom
impl Clone for dContactGeom
Source§fn clone(&self) -> dContactGeom
fn clone(&self) -> dContactGeom
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 dContactGeom
impl Debug for dContactGeom
impl Copy for dContactGeom
Auto Trait Implementations§
impl Freeze for dContactGeom
impl RefUnwindSafe for dContactGeom
impl !Send for dContactGeom
impl !Sync for dContactGeom
impl Unpin for dContactGeom
impl UnwindSafe for dContactGeom
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