pub enum SweepHitKind {
InitialOverlap,
InitialTouch,
Impact,
Grazing,
}Expand description
How the first contact of a checked ball sweep was reached.
Variants§
InitialOverlap
The ball starts strictly inside the target’s inflated boundary.
InitialTouch
The ball starts exactly on the boundary, regardless of movement direction.
Impact
The moving ball enters the boundary after the start.
Grazing
The moving ball touches the boundary tangentially after the start.
Trait Implementations§
Source§impl Clone for SweepHitKind
impl Clone for SweepHitKind
Source§fn clone(&self) -> SweepHitKind
fn clone(&self) -> SweepHitKind
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 SweepHitKind
impl Debug for SweepHitKind
Source§impl PartialEq for SweepHitKind
impl PartialEq for SweepHitKind
impl Copy for SweepHitKind
impl Eq for SweepHitKind
impl StructuralPartialEq for SweepHitKind
Auto Trait Implementations§
impl Freeze for SweepHitKind
impl RefUnwindSafe for SweepHitKind
impl Send for SweepHitKind
impl Sync for SweepHitKind
impl Unpin for SweepHitKind
impl UnwindSafe for SweepHitKind
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