pub struct RecQueryHit {
pub shape: ShapeId,
pub point: Pos,
pub normal: Vec2,
pub fraction: f32,
}Expand description
One result of a recorded spatial query. (b2RecQueryHit)
Fields§
§shape: ShapeId§point: Pos§normal: Vec2§fraction: f32Trait Implementations§
Source§impl Clone for RecQueryHit
impl Clone for RecQueryHit
Source§fn clone(&self) -> RecQueryHit
fn clone(&self) -> RecQueryHit
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 RecQueryHit
Source§impl Debug for RecQueryHit
impl Debug for RecQueryHit
Source§impl Default for RecQueryHit
impl Default for RecQueryHit
Source§fn default() -> RecQueryHit
fn default() -> RecQueryHit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecQueryHit
impl RefUnwindSafe for RecQueryHit
impl Send for RecQueryHit
impl Sync for RecQueryHit
impl Unpin for RecQueryHit
impl UnsafeUnpin for RecQueryHit
impl UnwindSafe for RecQueryHit
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