Enum lnkit::prelude::ContactEvent [−][src]
pub enum ContactEvent { Started(ColliderHandle, ColliderHandle), Stopped(ColliderHandle, ColliderHandle), }
Events occurring when two collision objects start or stop being in contact (or penetration).
Variants
Started(ColliderHandle, ColliderHandle)
Event occurring 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(ColliderHandle, ColliderHandle)
Event occurring 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 Clone for ContactEvent
[src]
impl Clone for ContactEvent
[src]pub fn clone(&self) -> ContactEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ContactEvent
[src]
impl Copy for ContactEvent
[src]Auto Trait Implementations
impl RefUnwindSafe for ContactEvent
impl RefUnwindSafe for ContactEvent
impl Send for ContactEvent
impl Send for ContactEvent
impl Sync for ContactEvent
impl Sync for ContactEvent
impl Unpin for ContactEvent
impl Unpin for ContactEvent
impl UnwindSafe for ContactEvent
impl UnwindSafe for ContactEvent
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> FromBits<T> for T
impl<T> FromBits<T> for T
pub fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
pub fn into_bits(self) -> U
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,