pub enum HitCount {
Missed,
Tangent(LineHit),
Secant(LineHit, LineHit),
}Expand description
How a line meets a circle, hits in increasing parameter order.
Variants§
Missed
The line misses the circle.
Tangent(LineHit)
The line touches the circle at exactly one point.
Secant(LineHit, LineHit)
The line crosses the circle at two points.
Trait Implementations§
impl Copy for HitCount
impl StructuralPartialEq for HitCount
Auto Trait Implementations§
impl Freeze for HitCount
impl RefUnwindSafe for HitCount
impl Send for HitCount
impl Sync for HitCount
impl Unpin for HitCount
impl UnwindSafe for HitCount
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