pub enum WallOutcome {
Inactive,
Separating,
Tangent,
BounceExhausted,
Bounced,
}Expand description
Wall budget policy after vector validation, not a collision/normal query.
Variants§
Inactive
Separating
Positive dot product; unchanged velocity and no bounce consumed.
Tangent
Exactly zero dot product (including stationary velocity and signed zero). Unchanged velocity and no bounce consumed; no tolerance is applied.
BounceExhausted
Approaching with no bounces; stopped without reflection.
Bounced
One bounce consumed using the legacy perfect-reflection arithmetic.
Trait Implementations§
Source§impl Clone for WallOutcome
impl Clone for WallOutcome
Source§fn clone(&self) -> WallOutcome
fn clone(&self) -> WallOutcome
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 WallOutcome
impl Debug for WallOutcome
Source§impl PartialEq for WallOutcome
impl PartialEq for WallOutcome
impl Copy for WallOutcome
impl Eq for WallOutcome
impl StructuralPartialEq for WallOutcome
Auto Trait Implementations§
impl Freeze for WallOutcome
impl RefUnwindSafe for WallOutcome
impl Send for WallOutcome
impl Sync for WallOutcome
impl Unpin for WallOutcome
impl UnwindSafe for WallOutcome
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