Struct ncollide3d::pipeline::narrow_phase::ProximityEvent [−][src]
pub struct ProximityEvent<Handle> { pub collider1: Handle, pub collider2: Handle, pub prev_status: Proximity, pub new_status: Proximity, }
Events occuring when two collision objects start or stop being in close proximity, contact, or disjoint.
Fields
collider1: Handle
The first collider to which the proximity event applies.
collider2: Handle
The second collider to which the proximity event applies.
prev_status: Proximity
The previous state of proximity between the two collision objects.
new_status: Proximity
The new state of proximity between the two collision objects.
Implementations
impl<Handle> ProximityEvent<Handle>
[src]
impl<Handle> ProximityEvent<Handle>
[src]Trait Implementations
impl<Handle: Clone> Clone for ProximityEvent<Handle>
[src]
impl<Handle: Clone> Clone for ProximityEvent<Handle>
[src]fn clone(&self) -> ProximityEvent<Handle>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Handle: Debug> Debug for ProximityEvent<Handle>
[src]
impl<Handle: Debug> Debug for ProximityEvent<Handle>
[src]impl<Handle: Copy> Copy for ProximityEvent<Handle>
[src]
Auto Trait Implementations
impl<Handle> RefUnwindSafe for ProximityEvent<Handle> where
Handle: RefUnwindSafe,
Handle: RefUnwindSafe,
impl<Handle> Send for ProximityEvent<Handle> where
Handle: Send,
Handle: Send,
impl<Handle> Sync for ProximityEvent<Handle> where
Handle: Sync,
Handle: Sync,
impl<Handle> Unpin for ProximityEvent<Handle> where
Handle: Unpin,
Handle: Unpin,
impl<Handle> UnwindSafe for ProximityEvent<Handle> where
Handle: UnwindSafe,
Handle: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,