#[repr(C)]pub struct b2RecQueryInfo {
pub type_: b2RecQueryType,
pub filter: b2QueryFilter,
pub aabb: b2AABB,
pub origin: b2Pos,
pub translation: b2Vec2,
pub shape: b2ShapeId,
pub hitCount: c_int,
}Expand description
A spatial query recorded during a replayed frame, exposed for inspection.
Fields§
§type_: b2RecQueryType§filter: b2QueryFilter§aabb: b2AABB§origin: b2Pos§translation: b2Vec2§shape: b2ShapeId§hitCount: c_intTrait Implementations§
Source§impl Clone for b2RecQueryInfo
impl Clone for b2RecQueryInfo
Source§fn clone(&self) -> b2RecQueryInfo
fn clone(&self) -> b2RecQueryInfo
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 b2RecQueryInfo
Auto Trait Implementations§
impl Freeze for b2RecQueryInfo
impl RefUnwindSafe for b2RecQueryInfo
impl Send for b2RecQueryInfo
impl Sync for b2RecQueryInfo
impl Unpin for b2RecQueryInfo
impl UnsafeUnpin for b2RecQueryInfo
impl UnwindSafe for b2RecQueryInfo
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