pub enum ContactEventType {
Begin,
Persist,
End,
}Expand description
Type of contact event
Variants§
Begin
First frame of contact
Persist
Contact persists from previous frame
End
Contact ended (bodies separated)
Trait Implementations§
Source§impl Clone for ContactEventType
impl Clone for ContactEventType
impl Copy for ContactEventType
Source§impl Debug for ContactEventType
impl Debug for ContactEventType
impl Eq for ContactEventType
Source§impl PartialEq for ContactEventType
impl PartialEq for ContactEventType
impl StructuralPartialEq for ContactEventType
Auto Trait Implementations§
impl Freeze for ContactEventType
impl RefUnwindSafe for ContactEventType
impl Send for ContactEventType
impl Sync for ContactEventType
impl Unpin for ContactEventType
impl UnsafeUnpin for ContactEventType
impl UnwindSafe for ContactEventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more