Struct parry2d::query::visitors::CompositeClosestPointVisitor[][src]

pub struct CompositeClosestPointVisitor<'a, S: 'a> { /* fields omitted */ }

Best-first traversal visitor for computing the point closest to a composite shape.

Implementations

impl<'a, S> CompositeClosestPointVisitor<'a, S>[src]

pub fn new(shape: &'a S, point: &'a Point<Real>, solid: bool) -> Self[src]

Initializes a visitor that allows the computation of the point closest to point on shape.

Trait Implementations

impl<'a, S: SimdCompositeShape + PointQuery> SimdBestFirstVisitor<u32, SimdAABB> for CompositeClosestPointVisitor<'a, S>[src]

type Result = PointProjection

The result of a best-first traversal.

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for CompositeClosestPointVisitor<'a, S> where
    S: RefUnwindSafe

impl<'a, S> Send for CompositeClosestPointVisitor<'a, S> where
    S: Sync

impl<'a, S> Sync for CompositeClosestPointVisitor<'a, S> where
    S: Sync

impl<'a, S> Unpin for CompositeClosestPointVisitor<'a, S>

impl<'a, S> UnwindSafe for CompositeClosestPointVisitor<'a, S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]