pub enum ContactGeometry {
Convex(ConvexContact),
Mesh(MeshContact),
}Expand description
Contact geometry cache payload. (C union in b3Contact)
Variants§
Convex(ConvexContact)
Mesh(MeshContact)
Trait Implementations§
Source§impl Clone for ContactGeometry
impl Clone for ContactGeometry
Source§fn clone(&self) -> ContactGeometry
fn clone(&self) -> ContactGeometry
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 ContactGeometry
impl Debug for ContactGeometry
Source§impl Default for ContactGeometry
impl Default for ContactGeometry
Source§impl PartialEq for ContactGeometry
impl PartialEq for ContactGeometry
impl StructuralPartialEq for ContactGeometry
Auto Trait Implementations§
impl Freeze for ContactGeometry
impl RefUnwindSafe for ContactGeometry
impl Send for ContactGeometry
impl Sync for ContactGeometry
impl Unpin for ContactGeometry
impl UnsafeUnpin for ContactGeometry
impl UnwindSafe for ContactGeometry
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