Trait geologic::ToVector2D
source · [−]Expand description
A helper trait to aid with the ergonomics of using a Vector2D
.
Required Methods
Implementations on Foreign Types
sourceimpl<T, K> ToVector2D<T, K> for (T, T)
impl<T, K> ToVector2D<T, K> for (T, T)
Makes it so a tuple can be used for interfaces expecting Vector2D
.
Implementors
impl<T, K> ToVector2D<T, K> for Vector2D<T, K>
Makes it so that Vector2D
itself can be used for interfaces expecting it.