pub struct ContactEvents<'a> {
pub begin_events: &'a [ContactBeginTouchEvent],
pub end_events: &'a [ContactEndTouchEvent],
pub hit_events: &'a [ContactHitEvent],
}Expand description
Contact events buffered in the world after a time step. (b3ContactEvents)
Fields§
§begin_events: &'a [ContactBeginTouchEvent]§end_events: &'a [ContactEndTouchEvent]§hit_events: &'a [ContactHitEvent]Trait Implementations§
Source§impl<'a> Clone for ContactEvents<'a>
impl<'a> Clone for ContactEvents<'a>
Source§fn clone(&self) -> ContactEvents<'a>
fn clone(&self) -> ContactEvents<'a>
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<'a> Copy for ContactEvents<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContactEvents<'a>
impl<'a> RefUnwindSafe for ContactEvents<'a>
impl<'a> Send for ContactEvents<'a>
impl<'a> Sync for ContactEvents<'a>
impl<'a> Unpin for ContactEvents<'a>
impl<'a> UnsafeUnpin for ContactEvents<'a>
impl<'a> UnwindSafe for ContactEvents<'a>
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