#[repr(C)]pub struct b2LocalManifold {
pub normal: b2Vec2,
pub points: [b2LocalManifoldPoint; 2],
pub pointCount: c_int,
}Expand description
Contact manifold in local coordinates (frame A).
Fields§
§normal: b2Vec2The unit normal vector in frame A, points from shape A to shape B
points: [b2LocalManifoldPoint; 2]The manifold points, up to two are possible in 2D
pointCount: c_intThe number of contacts points, will be 0, 1, or 2
Trait Implementations§
Source§impl Clone for b2LocalManifold
impl Clone for b2LocalManifold
Source§fn clone(&self) -> b2LocalManifold
fn clone(&self) -> b2LocalManifold
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 moreimpl Copy for b2LocalManifold
Auto Trait Implementations§
impl Freeze for b2LocalManifold
impl RefUnwindSafe for b2LocalManifold
impl Send for b2LocalManifold
impl Sync for b2LocalManifold
impl Unpin for b2LocalManifold
impl UnsafeUnpin for b2LocalManifold
impl UnwindSafe for b2LocalManifold
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