pub struct ContactEvent<const D: usize> {
pub kind: ContactEventKind,
pub contact: Contact<D>,
}Fields§
§kind: ContactEventKind§contact: Contact<D>Trait Implementations§
Source§impl<const D: usize> Clone for ContactEvent<D>
impl<const D: usize> Clone for ContactEvent<D>
Source§fn clone(&self) -> ContactEvent<D>
fn clone(&self) -> ContactEvent<D>
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<const D: usize> Debug for ContactEvent<D>
impl<const D: usize> Debug for ContactEvent<D>
Source§impl<const D: usize> PartialEq for ContactEvent<D>
impl<const D: usize> PartialEq for ContactEvent<D>
impl<const D: usize> Copy for ContactEvent<D>
impl<const D: usize> StructuralPartialEq for ContactEvent<D>
Auto Trait Implementations§
impl<const D: usize> Freeze for ContactEvent<D>
impl<const D: usize> RefUnwindSafe for ContactEvent<D>
impl<const D: usize> Send for ContactEvent<D>
impl<const D: usize> Sync for ContactEvent<D>
impl<const D: usize> Unpin for ContactEvent<D>
impl<const D: usize> UnwindSafe for ContactEvent<D>
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