[][src]Trait pathfinder_geometry::vector::IntoVector2F

pub trait IntoVector2F {
    fn into_vector_2f(self) -> Vector2F;
}

Either a scalar or a Vector2F.

Scalars will be automatically splatted (i.e. x becomes vec2f(x, x)).

Be judicious with the use of this trait. Only use it if it will aid readability without the potential to introduce bugs.

Required methods

Loading content...

Implementations on Foreign Types

impl IntoVector2F for f32[src]

Loading content...

Implementors

impl IntoVector2F for Vector2F[src]

Loading content...