Struct wrapped2d::collision::WorldManifold
source · #[repr(C)]pub struct WorldManifold {
pub normal: Vec2,
pub points: [Vec2; 2],
pub separations: [f32; 2],
}
Fields§
§normal: Vec2
§points: [Vec2; 2]
§separations: [f32; 2]
Trait Implementations§
source§impl Clone for WorldManifold
impl Clone for WorldManifold
source§fn clone(&self) -> WorldManifold
fn clone(&self) -> WorldManifold
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for WorldManifold
impl Send for WorldManifold
impl Sync for WorldManifold
impl Unpin for WorldManifold
impl UnwindSafe for WorldManifold
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