[−][src]Enum ncollide2d::pipeline::narrow_phase::ContactEvent
Events occuring when two collision objects start or stop being in contact (or penetration).
Variants
Started(Handle, Handle)
Event occuring when two collision objects start being in contact.
This event is generated whenever the narrow-phase finds a contact between two collision objects that did not have any contact at the last update.
Stopped(Handle, Handle)
Event occuring when two collision objects stop being in contact.
This event is generated whenever the narrow-phase fails to find any contact between two collision objects that did have at least one contact at the last update.
Trait Implementations
impl<Handle: Clone> Clone for ContactEvent<Handle>
[src]
fn clone(&self) -> ContactEvent<Handle>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<Handle: Copy> Copy for ContactEvent<Handle>
[src]
impl<Handle: Debug> Debug for ContactEvent<Handle>
[src]
impl<Handle: Hash> Hash for ContactEvent<Handle>
[src]
Auto Trait Implementations
impl<Handle> Unpin for ContactEvent<Handle> where
Handle: Unpin,
Handle: Unpin,
impl<Handle> Sync for ContactEvent<Handle> where
Handle: Sync,
Handle: Sync,
impl<Handle> Send for ContactEvent<Handle> where
Handle: Send,
Handle: Send,
impl<Handle> UnwindSafe for ContactEvent<Handle> where
Handle: UnwindSafe,
Handle: UnwindSafe,
impl<Handle> RefUnwindSafe for ContactEvent<Handle> where
Handle: RefUnwindSafe,
Handle: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,