pub struct ContactEvent {
pub kind: ContactEventKind,
pub blocking: bool,
pub self_body: Entity,
pub other_body: Entity,
pub self_density_field: Entity,
pub other_density_field: Entity,
}Fields§
§kind: ContactEventKind§blocking: bool§self_body: Entity§other_body: Entity§self_density_field: Entity§other_density_field: EntityTrait Implementations§
Source§impl Clone for ContactEvent
impl Clone for ContactEvent
Source§fn clone(&self) -> ContactEvent
fn clone(&self) -> ContactEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContactEvent
impl Debug for ContactEvent
Source§impl<'de> Deserialize<'de> for ContactEvent
impl<'de> Deserialize<'de> for ContactEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContactEvent
impl PartialEq for ContactEvent
Source§impl Serialize for ContactEvent
impl Serialize for ContactEvent
impl StructuralPartialEq for ContactEvent
Auto Trait Implementations§
impl Freeze for ContactEvent
impl RefUnwindSafe for ContactEvent
impl Send for ContactEvent
impl Sync for ContactEvent
impl Unpin for ContactEvent
impl UnsafeUnpin for ContactEvent
impl UnwindSafe for ContactEvent
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