pub enum OccupancyEvent<S = ColliderHandle, A = RigidBodyHandle> {
Entered(Occupancy<S, A>),
Exited(Occupancy<S, A>),
}Expand description
An accepted logical occupancy transition, in consumption order. Explicit removal also emits exits; reset/reconciliation/input loss never do.
Variants§
Trait Implementations§
Source§impl<S, A> Clone for OccupancyEvent<S, A>
impl<S, A> Clone for OccupancyEvent<S, A>
Source§fn clone(&self) -> OccupancyEvent<S, A>
fn clone(&self) -> OccupancyEvent<S, A>
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<S, A> Debug for OccupancyEvent<S, A>
impl<S, A> Debug for OccupancyEvent<S, A>
Source§impl<S, A> PartialEq for OccupancyEvent<S, A>
impl<S, A> PartialEq for OccupancyEvent<S, A>
impl<S, A> Copy for OccupancyEvent<S, A>
impl<S, A> Eq for OccupancyEvent<S, A>
impl<S, A> StructuralPartialEq for OccupancyEvent<S, A>
Auto Trait Implementations§
impl<S, A> Freeze for OccupancyEvent<S, A>
impl<S, A> RefUnwindSafe for OccupancyEvent<S, A>where
S: RefUnwindSafe,
A: RefUnwindSafe,
impl<S, A> Send for OccupancyEvent<S, A>
impl<S, A> Sync for OccupancyEvent<S, A>
impl<S, A> Unpin for OccupancyEvent<S, A>
impl<S, A> UnwindSafe for OccupancyEvent<S, A>where
S: UnwindSafe,
A: UnwindSafe,
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