Struct libliquidfun_sys::box2d::ffi::b2ContactEdge
source · #[repr(C, align(8))]pub struct b2ContactEdge { /* private fields */ }Expand description
A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.
Trait Implementations§
source§impl CopyNew for b2ContactEdge
impl CopyNew for b2ContactEdge
source§unsafe fn copy_new(
other: &b2ContactEdge,
this: Pin<&mut MaybeUninit<b2ContactEdge>>
)
unsafe fn copy_new( other: &b2ContactEdge, this: Pin<&mut MaybeUninit<b2ContactEdge>> )
Synthesized copy constructor.
source§impl ExternType for b2ContactEdge
impl ExternType for b2ContactEdge
source§impl MakeCppStorage for b2ContactEdge
impl MakeCppStorage for b2ContactEdge
source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2ContactEdge
unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2ContactEdge
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2ContactEdge)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2ContactEdge)
Frees a C++ allocation which has not yet
had a constructor called. Read more
source§impl MoveNew for b2ContactEdge
impl MoveNew for b2ContactEdge
source§unsafe fn move_new(
other: Pin<MoveRef<'_, b2ContactEdge>>,
this: Pin<&mut MaybeUninit<b2ContactEdge>>
)
unsafe fn move_new( other: Pin<MoveRef<'_, b2ContactEdge>>, this: Pin<&mut MaybeUninit<b2ContactEdge>> )
Synthesized move constructor.
impl UniquePtrTarget for b2ContactEdge
impl VectorElement for b2ContactEdge
impl WeakPtrTarget for b2ContactEdge
Auto Trait Implementations§
impl RefUnwindSafe for b2ContactEdge
impl !Send for b2ContactEdge
impl !Sync for b2ContactEdge
impl !Unpin for b2ContactEdge
impl UnwindSafe for b2ContactEdge
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