pub struct LocalManifoldPoint {
pub point: Vec2,
pub separation: f32,
pub id: u16,
}Expand description
Contact manifold point in local coordinates (frame A). (b2LocalManifoldPoint)
Fields§
§point: Vec2Contact point in frame A
separation: f32The separation of the contact point, negative if penetrating
id: u16Uniquely identifies a contact point between two shapes
Trait Implementations§
Source§impl Clone for LocalManifoldPoint
impl Clone for LocalManifoldPoint
Source§fn clone(&self) -> LocalManifoldPoint
fn clone(&self) -> LocalManifoldPoint
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 LocalManifoldPoint
Source§impl Debug for LocalManifoldPoint
impl Debug for LocalManifoldPoint
Source§impl Default for LocalManifoldPoint
impl Default for LocalManifoldPoint
Source§fn default() -> LocalManifoldPoint
fn default() -> LocalManifoldPoint
Returns the “default value” for a type. Read more
Source§impl PartialEq for LocalManifoldPoint
impl PartialEq for LocalManifoldPoint
impl StructuralPartialEq for LocalManifoldPoint
Auto Trait Implementations§
impl Freeze for LocalManifoldPoint
impl RefUnwindSafe for LocalManifoldPoint
impl Send for LocalManifoldPoint
impl Sync for LocalManifoldPoint
impl Unpin for LocalManifoldPoint
impl UnsafeUnpin for LocalManifoldPoint
impl UnwindSafe for LocalManifoldPoint
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