pub struct RecQueryInfo {
pub type_: RecQueryType,
pub filter: QueryFilter,
pub aabb: Aabb,
pub origin: Pos,
pub translation: Vec2,
pub shape: ShapeId,
pub hit_count: i32,
}Expand description
A spatial query recorded during a replayed frame, exposed for inspection. (b2RecQueryInfo)
Fields§
§type_: RecQueryType§filter: QueryFilterZeroed for the shape local query types.
aabb: AabbOverlap AABB, relative to origin.
origin: PosQuery origin.
translation: Vec2Ray and cast translation.
shape: ShapeIdTarget shape for the shape local query types.
hit_count: i32Number of recorded results.
Trait Implementations§
Source§impl Clone for RecQueryInfo
impl Clone for RecQueryInfo
Source§fn clone(&self) -> RecQueryInfo
fn clone(&self) -> RecQueryInfo
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 RecQueryInfo
Source§impl Debug for RecQueryInfo
impl Debug for RecQueryInfo
Source§impl Default for RecQueryInfo
impl Default for RecQueryInfo
Source§fn default() -> RecQueryInfo
fn default() -> RecQueryInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecQueryInfo
impl RefUnwindSafe for RecQueryInfo
impl Send for RecQueryInfo
impl Sync for RecQueryInfo
impl Unpin for RecQueryInfo
impl UnsafeUnpin for RecQueryInfo
impl UnwindSafe for RecQueryInfo
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