pub enum StartResolution<S = ColliderHandle, A = RigidBodyHandle> {
Ignore,
Track(Occupancy<S, A>),
Unresolved,
}Expand description
Explicit policy for a previously unknown start. Resolution is never requested
for stops or retained duplicate starts. Use Unresolved when identity or
classification is unavailable, rather than silently ignoring a sensor.
Variants§
Trait Implementations§
Source§impl<S, A> Clone for StartResolution<S, A>
impl<S, A> Clone for StartResolution<S, A>
Source§fn clone(&self) -> StartResolution<S, A>
fn clone(&self) -> StartResolution<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 StartResolution<S, A>
impl<S, A> Debug for StartResolution<S, A>
Source§impl<S, A> PartialEq for StartResolution<S, A>
impl<S, A> PartialEq for StartResolution<S, A>
impl<S, A> Copy for StartResolution<S, A>
impl<S, A> Eq for StartResolution<S, A>
impl<S, A> StructuralPartialEq for StartResolution<S, A>
Auto Trait Implementations§
impl<S, A> Freeze for StartResolution<S, A>
impl<S, A> RefUnwindSafe for StartResolution<S, A>where
S: RefUnwindSafe,
A: RefUnwindSafe,
impl<S, A> Send for StartResolution<S, A>
impl<S, A> Sync for StartResolution<S, A>
impl<S, A> Unpin for StartResolution<S, A>
impl<S, A> UnwindSafe for StartResolution<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