Trait plexus::ordered::HashConjugate [] [src]

pub trait HashConjugate: Sized {
    type Hash: Eq + Hash;
    fn into_hash(self) -> Self::Hash;
fn from_hash(hash: Self::Hash) -> Self; }

Provides conversion to and from a conjugate type that can be hashed.

This trait is primarily used to convert geometry to and from hashable data for indexing.

Associated Types

Conjugate type that provides Eq and Hash implementations.

Required Methods

Converts into the conjugate type.

Converts from the conjugate type.

Implementations on Foreign Types

impl<T> HashConjugate for Point2<T> where
    T: Float + Scalar
[src]

[src]

[src]

impl<T> HashConjugate for Point3<T> where
    T: Float + Scalar
[src]

[src]

[src]

impl<T> HashConjugate for Vector2<T> where
    T: Float + Scalar
[src]

[src]

[src]

impl<T> HashConjugate for Vector3<T> where
    T: Float + Scalar
[src]

[src]

[src]

Implementors