pub trait VectorTruncateInto<T> {
    // Required method
    fn truncate_into(self) -> T;
}
Expand description

Trait that implements slicing of a vector into a scalar or vector of lower dimensions, by ignoring the highter dimensions

Required Methods§

source

fn truncate_into(self) -> T

Slices the vector into a lower dimensional type by ignoring the higher components

Implementations on Foreign Types§

source§

impl VectorTruncateInto<DVec2> for DVec4

source§

impl VectorTruncateInto<f64> for DVec3

source§

impl VectorTruncateInto<Vec2> for Vec3

source§

impl VectorTruncateInto<DVec4> for DVec4

source§

impl VectorTruncateInto<DVec2> for DVec2

source§

impl VectorTruncateInto<u32> for UVec3

source§

impl VectorTruncateInto<u32> for UVec2

source§

impl VectorTruncateInto<u32> for UVec4

source§

impl VectorTruncateInto<UVec4> for UVec4

source§

impl VectorTruncateInto<DVec3> for DVec3

source§

impl VectorTruncateInto<f64> for DVec2

source§

impl VectorTruncateInto<f64> for DVec4

source§

impl VectorTruncateInto<IVec2> for IVec2

source§

impl VectorTruncateInto<Vec2> for Vec2

source§

impl VectorTruncateInto<i32> for i32

source§

impl VectorTruncateInto<i32> for IVec4

source§

impl VectorTruncateInto<IVec3> for IVec3

source§

impl VectorTruncateInto<DVec3> for DVec4

source§

impl VectorTruncateInto<f64> for f64

source§

impl VectorTruncateInto<UVec3> for UVec3

source§

impl VectorTruncateInto<i32> for IVec3

source§

impl VectorTruncateInto<Vec4> for Vec4

source§

impl VectorTruncateInto<f32> for Vec3

source§

impl VectorTruncateInto<Vec2> for Vec4

source§

impl VectorTruncateInto<i32> for IVec2

source§

impl VectorTruncateInto<Vec3> for Vec3

source§

impl VectorTruncateInto<IVec2> for IVec4

source§

impl VectorTruncateInto<Vec3> for Vec4

source§

impl VectorTruncateInto<IVec3> for IVec4

source§

impl VectorTruncateInto<UVec2> for UVec2

source§

impl VectorTruncateInto<UVec2> for UVec3

source§

impl VectorTruncateInto<IVec4> for IVec4

source§

impl VectorTruncateInto<f32> for Vec4

source§

impl VectorTruncateInto<IVec2> for IVec3

source§

impl VectorTruncateInto<f32> for f32

source§

impl VectorTruncateInto<DVec2> for DVec3

source§

impl VectorTruncateInto<UVec3> for UVec4

source§

impl VectorTruncateInto<UVec2> for UVec4

source§

impl VectorTruncateInto<f32> for Vec2

source§

impl VectorTruncateInto<u32> for u32

Implementors§