Trait nalgebra::Cast
[−]
[src]
pub trait Cast<T> { fn from(t: T) -> Self; }
Traits of objects which can be created from an object of type T
.
Required Methods
fn from(t: T) -> Self
Converts an element of type T
to an element of type Self
.
Implementors
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector1<Nin>> for Vector1<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector2<Nin>> for Vector2<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector3<Nin>> for Vector3<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector4<Nin>> for Vector4<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector5<Nin>> for Vector5<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Vector6<Nin>> for Vector6<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point1<Nin>> for Point1<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point2<Nin>> for Point2<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point3<Nin>> for Point3<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point4<Nin>> for Point4<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point5<Nin>> for Point5<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Point6<Nin>> for Point6<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Quaternion<Nin>> for Quaternion<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix1<Nin>> for Matrix1<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix2<Nin>> for Matrix2<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix3<Nin>> for Matrix3<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix4<Nin>> for Matrix4<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix5<Nin>> for Matrix5<Nout>
impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix6<Nin>> for Matrix6<Nout>
impl Cast<f64> for f64
impl Cast<f64> for f32
impl Cast<f64> for i64
impl Cast<f64> for i32
impl Cast<f64> for i16
impl Cast<f64> for i8
impl Cast<f64> for u64
impl Cast<f64> for u32
impl Cast<f64> for u16
impl Cast<f64> for u8
impl Cast<f64> for isize
impl Cast<f64> for usize
impl Cast<f32> for f64
impl Cast<f32> for f32
impl Cast<f32> for i64
impl Cast<f32> for i32
impl Cast<f32> for i16
impl Cast<f32> for i8
impl Cast<f32> for u64
impl Cast<f32> for u32
impl Cast<f32> for u16
impl Cast<f32> for u8
impl Cast<f32> for isize
impl Cast<f32> for usize
impl Cast<i64> for f64
impl Cast<i64> for f32
impl Cast<i64> for i64
impl Cast<i64> for i32
impl Cast<i64> for i16
impl Cast<i64> for i8
impl Cast<i64> for u64
impl Cast<i64> for u32
impl Cast<i64> for u16
impl Cast<i64> for u8
impl Cast<i64> for isize
impl Cast<i64> for usize
impl Cast<i32> for f64
impl Cast<i32> for f32
impl Cast<i32> for i64
impl Cast<i32> for i32
impl Cast<i32> for i16
impl Cast<i32> for i8
impl Cast<i32> for u64
impl Cast<i32> for u32
impl Cast<i32> for u16
impl Cast<i32> for u8
impl Cast<i32> for isize
impl Cast<i32> for usize
impl Cast<i16> for f64
impl Cast<i16> for f32
impl Cast<i16> for i64
impl Cast<i16> for i32
impl Cast<i16> for i16
impl Cast<i16> for i8
impl Cast<i16> for u64
impl Cast<i16> for u32
impl Cast<i16> for u16
impl Cast<i16> for u8
impl Cast<i16> for isize
impl Cast<i16> for usize
impl Cast<i8> for f64
impl Cast<i8> for f32
impl Cast<i8> for i64
impl Cast<i8> for i32
impl Cast<i8> for i16
impl Cast<i8> for i8
impl Cast<i8> for u64
impl Cast<i8> for u32
impl Cast<i8> for u16
impl Cast<i8> for u8
impl Cast<i8> for isize
impl Cast<i8> for usize
impl Cast<u64> for f64
impl Cast<u64> for f32
impl Cast<u64> for i64
impl Cast<u64> for i32
impl Cast<u64> for i16
impl Cast<u64> for i8
impl Cast<u64> for u64
impl Cast<u64> for u32
impl Cast<u64> for u16
impl Cast<u64> for u8
impl Cast<u64> for isize
impl Cast<u64> for usize
impl Cast<u32> for f64
impl Cast<u32> for f32
impl Cast<u32> for i64
impl Cast<u32> for i32
impl Cast<u32> for i16
impl Cast<u32> for i8
impl Cast<u32> for u64
impl Cast<u32> for u32
impl Cast<u32> for u16
impl Cast<u32> for u8
impl Cast<u32> for isize
impl Cast<u32> for usize
impl Cast<u16> for f64
impl Cast<u16> for f32
impl Cast<u16> for i64
impl Cast<u16> for i32
impl Cast<u16> for i16
impl Cast<u16> for i8
impl Cast<u16> for u64
impl Cast<u16> for u32
impl Cast<u16> for u16
impl Cast<u16> for u8
impl Cast<u16> for isize
impl Cast<u16> for usize
impl Cast<u8> for f64
impl Cast<u8> for f32
impl Cast<u8> for i64
impl Cast<u8> for i32
impl Cast<u8> for i16
impl Cast<u8> for i8
impl Cast<u8> for u64
impl Cast<u8> for u32
impl Cast<u8> for u16
impl Cast<u8> for u8
impl Cast<u8> for isize
impl Cast<u8> for usize
impl Cast<usize> for f64
impl Cast<usize> for f32
impl Cast<usize> for i64
impl Cast<usize> for i32
impl Cast<usize> for i16
impl Cast<usize> for i8
impl Cast<usize> for u64
impl Cast<usize> for u32
impl Cast<usize> for u16
impl Cast<usize> for u8
impl Cast<usize> for isize
impl Cast<usize> for usize
impl Cast<isize> for f64
impl Cast<isize> for f32
impl Cast<isize> for i64
impl Cast<isize> for i32
impl Cast<isize> for i16
impl Cast<isize> for i8
impl Cast<isize> for u64
impl Cast<isize> for u32
impl Cast<isize> for u16
impl Cast<isize> for u8
impl Cast<isize> for isize
impl Cast<isize> for usize