#[repr(C)]pub struct b2LocalManifoldPoint {
pub point: b2Vec2,
pub separation: f32,
pub id: u16,
}Expand description
Contact manifold point in local coordinates (frame A).
Fields§
§point: b2Vec2Contact point in frame A
separation: f32The separation of the contact point, negative if penetrating. May be positive or negative.
id: u16Uniquely identifies a contact point between two shapes
Trait Implementations§
Source§impl Clone for b2LocalManifoldPoint
impl Clone for b2LocalManifoldPoint
Source§fn clone(&self) -> b2LocalManifoldPoint
fn clone(&self) -> b2LocalManifoldPoint
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 b2LocalManifoldPoint
Auto Trait Implementations§
impl Freeze for b2LocalManifoldPoint
impl RefUnwindSafe for b2LocalManifoldPoint
impl Send for b2LocalManifoldPoint
impl Sync for b2LocalManifoldPoint
impl Unpin for b2LocalManifoldPoint
impl UnsafeUnpin for b2LocalManifoldPoint
impl UnwindSafe for b2LocalManifoldPoint
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