# [−][src]Struct acap::euclid::Euclidean

pub struct Euclidean<T>(pub T);

A point in Euclidean space.

This wrapper equips any coordinate space with the Euclidean distance metric.

Wrap a point.

Unwrap a point.

Unwrap a point.

## Trait Implementations

### impl<T: Coordinates> Coordinates for Euclidean<T>[src]

#### type Value = T::Value

The type of individual coordinates.

### impl<T> Metric<Euclidean<T>> for Euclidean<T> where    T: Coordinates,    EuclideanDistance<T::Value>: Distance, [src]

Euclidean distance is a metric.

### impl<T> Proximity<Euclidean<T>> for Euclidean<T> where    T: Coordinates,    EuclideanDistance<T::Value>: Distance, [src]

The Euclidean distance function.

#### type Distance = EuclideanDistance<T::Value>

The type that represents distances.

### impl<T> Proximity<Euclidean<T>> for T where    T: Coordinates,    EuclideanDistance<T::Value>: Distance, [src]

#### type Distance = EuclideanDistance<T::Value>

The type that represents distances.

### impl<T> Proximity<T> for Euclidean<T> where    T: Coordinates,    EuclideanDistance<T::Value>: Distance, [src]

#### type Distance = EuclideanDistance<T::Value>

The type that represents distances.

## Blanket Implementations

### impl<T> Proximity<Angular<T>> for T where    T: Coordinates,    <T as Coordinates>::Value: Real,    AngularDistance<<T as Coordinates>::Value>: Distance, [src]

#### type Distance = AngularDistance<<T as Coordinates>::Value>

The type that represents distances.

### impl<T> Proximity<Chebyshev<T>> for T where    T: Coordinates, [src]

#### type Distance = <T as Coordinates>::Value

The type that represents distances.

### impl<T> Proximity<Cosine<T>> for T where    T: Coordinates,    <T as Coordinates>::Value: Real, [src]

#### type Distance = <T as Coordinates>::Value

The type that represents distances.

### impl<T> Proximity<Euclidean<T>> for T where    T: Coordinates,    EuclideanDistance<<T as Coordinates>::Value>: Distance, [src]

#### type Distance = EuclideanDistance<<T as Coordinates>::Value>

The type that represents distances.

### impl<T> Proximity<Euclidean<T>> for T where    T: Coordinates,    EuclideanDistance<<T as Coordinates>::Value>: Distance, [src]

#### type Distance = EuclideanDistance<<T as Coordinates>::Value>

The type that represents distances.

### impl<T> Proximity<Euclidean<T>> for T where    T: Coordinates,    EuclideanDistance<<T as Coordinates>::Value>: Distance, [src]

#### type Distance = EuclideanDistance<<T as Coordinates>::Value>

The type that represents distances.

### impl<T> Proximity<PrenormAngular<T>> for T where    T: Coordinates,    <T as Coordinates>::Value: Real,    AngularDistance<<T as Coordinates>::Value>: Distance, [src]

#### type Distance = AngularDistance<<T as Coordinates>::Value>

The type that represents distances.

### impl<T> Proximity<PrenormCosine<T>> for T where    T: Coordinates,    <T as Coordinates>::Value: Real, [src]

#### type Distance = <T as Coordinates>::Value

The type that represents distances.

### impl<T> Proximity<Taxicab<T>> for T where    T: Coordinates, [src]

#### type Distance = <T as Coordinates>::Value

The type that represents distances.

### 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.