[][src]Trait plexus::FromGeometry

pub trait FromGeometry<T> {
    fn from_geometry(other: T) -> Self;
}

Required methods

fn from_geometry(other: T) -> Self

Loading content...

Implementations on Foreign Types

impl<T, U> FromGeometry<(U, U)> for Vector2<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Vector2<T>> for (U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Vector3<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Vector3<T>> for (U, U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U)> for Point2<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point2<T>> for (U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Point3<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point3<T>> for (U, U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, FiniteConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, NotNanConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, UnitConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, FiniteConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, NotNanConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, UnitConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, FiniteConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, NotNanConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, UnitConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, FiniteConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, NotNanConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, UnitConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T, U> FromGeometry<(U, U)> for Vector2<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Vector2<T>> for (U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Vector3<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Vector3<T>> for (U, U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U)> for Point2<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point2<T>> for (U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Point3<T> where
    T: NumCast,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point3<T>> for (U, U, U) where
    T: ToPrimitive,
    U: NumCast
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, FiniteConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, FiniteConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, FiniteConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, FiniteConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<Finite<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, NotNanConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, NotNanConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, NotNanConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, NotNanConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<NotNan<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<ConstrainedFloat<T, UnitConstraint<T>>>> for Vector2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector2<T>> for Vector2<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<ConstrainedFloat<T, UnitConstraint<T>>>> for Vector3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Vector3<T>> for Vector3<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<ConstrainedFloat<T, UnitConstraint<T>>>> for Point2<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point2<T>> for Point2<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<ConstrainedFloat<T, UnitConstraint<T>>>> for Point3<T> where
    T: Float + Primitive, 
[src]

impl<T> FromGeometry<Point3<T>> for Point3<Ordered<T>> where
    T: Float + Primitive, 
[src]

impl<T, U> FromGeometry<(U, U)> for Vector2<T> where
    T: NumCast + Scalar,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for (U, U) where
    T: Scalar + ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Vector3<T> where
    T: NumCast + Scalar,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>> for (U, U, U) where
    T: Scalar + ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U)> for Point2<T> where
    T: NumCast + Scalar,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point<T, U2>> for (U, U) where
    T: Scalar + ToPrimitive,
    U: NumCast
[src]

impl<T, U> FromGeometry<(U, U, U)> for Point3<T> where
    T: NumCast + Scalar,
    U: ToPrimitive
[src]

impl<T, U> FromGeometry<Point<T, U3>> for (U, U, U) where
    T: Scalar + ToPrimitive,
    U: NumCast
[src]

impl<T, R, C> FromGeometry<Matrix<ConstrainedFloat<T, FiniteConstraint<T>>, R, C, <DefaultAllocator as Allocator<ConstrainedFloat<T, FiniteConstraint<T>>, R, C>>::Buffer>> for MatrixMN<T, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<T, R, C> + Allocator<Finite<T>, R, C>, 
[src]

impl<T, R, C> FromGeometry<Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>> for MatrixMN<Finite<T>, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<Finite<T>, R, C> + Allocator<T, R, C>, 
[src]

impl<T, D> FromGeometry<Point<ConstrainedFloat<T, FiniteConstraint<T>>, D>> for Point<T, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D> + Allocator<Finite<T>, D>, 
[src]

impl<T, D> FromGeometry<Point<T, D>> for Point<Finite<T>, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<Finite<T>, D> + Allocator<T, D>, 
[src]

impl<T, R, C> FromGeometry<Matrix<ConstrainedFloat<T, NotNanConstraint<T>>, R, C, <DefaultAllocator as Allocator<ConstrainedFloat<T, NotNanConstraint<T>>, R, C>>::Buffer>> for MatrixMN<T, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<T, R, C> + Allocator<NotNan<T>, R, C>, 
[src]

impl<T, R, C> FromGeometry<Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>> for MatrixMN<NotNan<T>, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<NotNan<T>, R, C> + Allocator<T, R, C>, 
[src]

impl<T, D> FromGeometry<Point<ConstrainedFloat<T, NotNanConstraint<T>>, D>> for Point<T, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D> + Allocator<NotNan<T>, D>, 
[src]

impl<T, D> FromGeometry<Point<T, D>> for Point<NotNan<T>, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<NotNan<T>, D> + Allocator<T, D>, 
[src]

impl<T, R, C> FromGeometry<Matrix<ConstrainedFloat<T, UnitConstraint<T>>, R, C, <DefaultAllocator as Allocator<ConstrainedFloat<T, UnitConstraint<T>>, R, C>>::Buffer>> for MatrixMN<T, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<T, R, C> + Allocator<Ordered<T>, R, C>, 
[src]

impl<T, R, C> FromGeometry<Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>> for MatrixMN<Ordered<T>, R, C> where
    T: Float + Primitive + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<Ordered<T>, R, C> + Allocator<T, R, C>, 
[src]

impl<T, D> FromGeometry<Point<ConstrainedFloat<T, UnitConstraint<T>>, D>> for Point<T, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D> + Allocator<Ordered<T>, D>, 
[src]

impl<T, D> FromGeometry<Point<T, D>> for Point<Ordered<T>, D> where
    T: Float + Primitive + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<Ordered<T>, D> + Allocator<T, D>, 
[src]

Loading content...

Implementors

impl<T> FromGeometry<()> for T where
    T: UnitGeometry
[src]

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

Loading content...