#[repr(C)]pub struct b2PlaneResult {
pub plane: b2Plane,
pub point: b2Vec2,
pub hit: bool,
}Expand description
These are the collision planes returned from b2World_CollideMover
Fields§
§plane: b2PlaneThe collision plane between the mover and a convex shape
point: b2Vec2§hit: boolDid the collision register a hit? If not this plane should be ignored.
Trait Implementations§
Source§impl Clone for b2PlaneResult
impl Clone for b2PlaneResult
Source§fn clone(&self) -> b2PlaneResult
fn clone(&self) -> b2PlaneResult
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2PlaneResult
impl Debug for b2PlaneResult
impl Copy for b2PlaneResult
Auto Trait Implementations§
impl Freeze for b2PlaneResult
impl RefUnwindSafe for b2PlaneResult
impl Send for b2PlaneResult
impl Sync for b2PlaneResult
impl Unpin for b2PlaneResult
impl UnwindSafe for b2PlaneResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)