#[repr(C)]pub struct b2RecQueryHit {
pub shape: b2ShapeId,
pub point: b2Pos,
pub normal: b2Vec2,
pub fraction: f32,
}Expand description
One result of a recorded spatial query.
Fields§
§shape: b2ShapeId§point: b2Pos§normal: b2Vec2§fraction: f32Trait Implementations§
Source§impl Clone for b2RecQueryHit
impl Clone for b2RecQueryHit
Source§fn clone(&self) -> b2RecQueryHit
fn clone(&self) -> b2RecQueryHit
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 b2RecQueryHit
Auto Trait Implementations§
impl Freeze for b2RecQueryHit
impl RefUnwindSafe for b2RecQueryHit
impl Send for b2RecQueryHit
impl Sync for b2RecQueryHit
impl Unpin for b2RecQueryHit
impl UnsafeUnpin for b2RecQueryHit
impl UnwindSafe for b2RecQueryHit
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