[][src]Enum arcs::algorithms::Closest

pub enum Closest {
    Infinite,
    One(Vector),
    Many(Vec<Vector>),
}

An enum containing the different possible solutions for ClosestPoint::closest_point().

Variants

Infinite

There are infinitely solutions.

One(Vector)
Many(Vec<Vector>)

Methods

impl Closest[src]

pub fn is_infinite(&self) -> bool[src]

pub fn points(&self) -> &[Vector][src]

Trait Implementations

impl Clone for Closest[src]

impl Debug for Closest[src]

impl FromIterator<Vector> for Closest[src]

impl PartialEq<Closest> for Closest[src]

impl StructuralPartialEq for Closest[src]

Auto Trait Implementations

impl RefUnwindSafe for Closest

impl Send for Closest

impl Sync for Closest

impl Unpin for Closest

impl UnwindSafe for Closest

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

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

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

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.