pub struct Sensor {
pub hits: Vec<Visitor>,
pub overlaps1: Vec<Visitor>,
pub overlaps2: Vec<Visitor>,
pub shape_id: i32,
}Expand description
Sensors are shapes that live in the broad-phase but never have contacts. (b3Sensor)
Fields§
§hits: Vec<Visitor>§overlaps1: Vec<Visitor>§overlaps2: Vec<Visitor>§shape_id: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sensor
impl RefUnwindSafe for Sensor
impl Send for Sensor
impl Sync for Sensor
impl Unpin for Sensor
impl UnsafeUnpin for Sensor
impl UnwindSafe for Sensor
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