[][src]Struct fpn::cg::Vector3

pub struct Vector3<T> {
    pub x: T,
    pub y: T,
    pub z: T,
}

Vector3 provides the common 3D coordinates container Common ops traits are implemented for primitive types and FPN. Vector3 is not Copy, so try use reference when getting borrow conflicts, like

use fpn::Vector3;

let v = Vector3::new(1f32, 1f32, 1f32);
// let added = v + v; // this will panic
let added = &v + &v;
// or
let double = v * 2f32;

Dot product and cross product are provided with trait Dot and Cross.

For Vector3<FPN>, bitwize shift is provided too.

Fields

x: Ty: Tz: T

Implementations

impl<T> Vector3<T>[src]

pub fn new(x: T, y: T, z: T) -> Self[src]

impl<F> Vector3<FPN<I, F>> where
    F: Unsigned
[src]

pub fn with(x: i8, y: i8, z: i8) -> Self[src]

pub fn set_x(&mut self, v: i8)[src]

pub fn set_y(&mut self, v: i8)[src]

pub fn set_z(&mut self, v: i8)[src]

impl<F> Vector3<FPN<I, F>> where
    F: Unsigned
[src]

pub fn with(x: i16, y: i16, z: i16) -> Self[src]

pub fn set_x(&mut self, v: i16)[src]

pub fn set_y(&mut self, v: i16)[src]

pub fn set_z(&mut self, v: i16)[src]

impl<F> Vector3<FPN<I, F>> where
    F: Unsigned
[src]

pub fn with(x: i32, y: i32, z: i32) -> Self[src]

pub fn set_x(&mut self, v: i32)[src]

pub fn set_y(&mut self, v: i32)[src]

pub fn set_z(&mut self, v: i32)[src]

impl<F> Vector3<FPN<I, F>> where
    F: Unsigned
[src]

pub fn with(x: i64, y: i64, z: i64) -> Self[src]

pub fn set_x(&mut self, v: i64)[src]

pub fn set_y(&mut self, v: i64)[src]

pub fn set_z(&mut self, v: i64)[src]

Trait Implementations

impl<'_, F> Add<&'_ Vector3<FPN<i16, F>>> for &'_ FVector3<i16, F> where
    F: Unsigned
[src]

type Output = FVector3<i16, F>

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i32, F>>> for &'_ FVector3<i32, F> where
    F: Unsigned
[src]

type Output = FVector3<i32, F>

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i64, F>>> for &'_ FVector3<i64, F> where
    F: Unsigned
[src]

type Output = FVector3<i64, F>

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i8, F>>> for &'_ FVector3<i8, F> where
    F: Unsigned
[src]

type Output = FVector3<i8, F>

The resulting type after applying the + operator.

impl<'_, F> Add<&'_ Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<f32>> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<f32>> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<f64>> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<f64>> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i16>> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i16>> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i32>> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i32>> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i64>> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i64>> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i8>> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the + operator.

impl<'_> Add<&'_ Vector3<i8>> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the + operator.

impl<F> Add<Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<Vector3<FPN<i16, F>>> for &'_ FVector3<i16, F> where
    F: Unsigned
[src]

type Output = FVector3<i16, F>

The resulting type after applying the + operator.

impl<F> Add<Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<Vector3<FPN<i32, F>>> for &'_ FVector3<i32, F> where
    F: Unsigned
[src]

type Output = FVector3<i32, F>

The resulting type after applying the + operator.

impl<F> Add<Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<Vector3<FPN<i64, F>>> for &'_ FVector3<i64, F> where
    F: Unsigned
[src]

type Output = FVector3<i64, F>

The resulting type after applying the + operator.

impl<F> Add<Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> Add<Vector3<FPN<i8, F>>> for &'_ FVector3<i8, F> where
    F: Unsigned
[src]

type Output = FVector3<i8, F>

The resulting type after applying the + operator.

impl Add<Vector3<f32>> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<f32>> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the + operator.

impl Add<Vector3<f64>> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<f64>> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the + operator.

impl Add<Vector3<i16>> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<i16>> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the + operator.

impl<F> Add<Vector3<i16>> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Vector3<i32>> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<i32>> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the + operator.

impl<F> Add<Vector3<i32>> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Vector3<i64>> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<i64>> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the + operator.

impl<F> Add<Vector3<i64>> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Vector3<i8>> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> Add<Vector3<i8>> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the + operator.

impl<F> Add<Vector3<i8>> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_, F> AddAssign<&'_ Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

impl<'_, F> AddAssign<&'_ Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

impl<'_, F> AddAssign<&'_ Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

impl<'_, F> AddAssign<&'_ Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

impl<'_> AddAssign<&'_ Vector3<f32>> for Vector3<f32>[src]

impl<'_> AddAssign<&'_ Vector3<f64>> for Vector3<f64>[src]

impl<'_> AddAssign<&'_ Vector3<i16>> for Vector3<i16>[src]

impl<'_> AddAssign<&'_ Vector3<i32>> for Vector3<i32>[src]

impl<'_> AddAssign<&'_ Vector3<i64>> for Vector3<i64>[src]

impl<'_> AddAssign<&'_ Vector3<i8>> for Vector3<i8>[src]

impl<F> AddAssign<Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

impl<F> AddAssign<Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

impl<F> AddAssign<Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

impl<F> AddAssign<Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

impl AddAssign<Vector3<f32>> for Vector3<f32>[src]

impl AddAssign<Vector3<f64>> for Vector3<f64>[src]

impl AddAssign<Vector3<i16>> for Vector3<i16>[src]

impl<F> AddAssign<Vector3<i16>> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

impl AddAssign<Vector3<i32>> for Vector3<i32>[src]

impl<F> AddAssign<Vector3<i32>> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

impl AddAssign<Vector3<i64>> for Vector3<i64>[src]

impl<F> AddAssign<Vector3<i64>> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

impl AddAssign<Vector3<i8>> for Vector3<i8>[src]

impl<F> AddAssign<Vector3<i8>> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

impl<T> Clone for Vector3<T> where
    T: Clone
[src]

impl Cross<f32> for Vector3<f32>[src]

impl Cross<f64> for Vector3<f64>[src]

impl Cross<i16> for Vector3<i16>[src]

impl Cross<i32> for Vector3<i32>[src]

impl Cross<i64> for Vector3<i64>[src]

impl Cross<i8> for Vector3<i8>[src]

impl<T> Debug for Vector3<T> where
    T: Debug
[src]

impl<T> Display for Vector3<T> where
    T: Display
[src]

impl Div<f32> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<f32> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the / operator.

impl Div<f64> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<f64> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the / operator.

impl Div<i16> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<i16> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the / operator.

impl<F> Div<i16> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<i32> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<i32> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the / operator.

impl<F> Div<i32> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<i64> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<i64> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the / operator.

impl<F> Div<i64> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<i8> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> Div<i8> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the / operator.

impl<F> Div<i8> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the / operator.

impl<F> DivAssign<FPN<i16, F>> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

impl<F> DivAssign<FPN<i32, F>> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

impl<F> DivAssign<FPN<i64, F>> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

impl<F> DivAssign<FPN<i8, F>> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

impl DivAssign<f32> for Vector3<f32>[src]

impl DivAssign<f64> for Vector3<f64>[src]

impl DivAssign<i16> for Vector3<i16>[src]

impl<F> DivAssign<i16> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

impl DivAssign<i32> for Vector3<i32>[src]

impl<F> DivAssign<i32> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

impl DivAssign<i64> for Vector3<i64>[src]

impl<F> DivAssign<i64> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

impl DivAssign<i8> for Vector3<i8>[src]

impl<F> DivAssign<i8> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

impl Dot<f32> for Vector3<f32>[src]

impl Dot<f64> for Vector3<f64>[src]

impl Dot<i16> for Vector3<i16>[src]

impl Dot<i32> for Vector3<i32>[src]

impl Dot<i64> for Vector3<i64>[src]

impl Dot<i8> for Vector3<i8>[src]

impl<T> Eq for Vector3<T> where
    T: Eq
[src]

impl Mul<f32> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<f32> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the * operator.

impl Mul<f64> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<f64> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the * operator.

impl Mul<i16> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<i16> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the * operator.

impl<F> Mul<i16> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<i32> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<i32> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the * operator.

impl<F> Mul<i32> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<i64> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<i64> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the * operator.

impl<F> Mul<i64> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<i8> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> Mul<i8> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the * operator.

impl<F> Mul<i8> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the * operator.

impl MulAssign<f32> for Vector3<f32>[src]

impl MulAssign<f64> for Vector3<f64>[src]

impl MulAssign<i16> for Vector3<i16>[src]

impl<F> MulAssign<i16> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

impl MulAssign<i32> for Vector3<i32>[src]

impl<F> MulAssign<i32> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

impl MulAssign<i64> for Vector3<i64>[src]

impl<F> MulAssign<i64> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

impl MulAssign<i8> for Vector3<i8>[src]

impl<F> MulAssign<i8> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

impl Neg for Vector3<i8>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the - operator.

impl Neg for Vector3<f64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the - operator.

impl Neg for Vector3<i16>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the - operator.

impl Neg for Vector3<i32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the - operator.

impl Neg for Vector3<i64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the - operator.

impl Neg for Vector3<f32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the - operator.

impl<T> PartialEq<Vector3<T>> for Vector3<T> where
    T: PartialEq
[src]

impl Polar<f32> for Vector3<f32>[src]

impl Polar<f64> for Vector3<f64>[src]

impl Polar<i16> for Vector3<i16>[src]

impl Polar<i32> for Vector3<i32>[src]

impl Polar<i64> for Vector3<i64>[src]

impl Polar<i8> for Vector3<i8>[src]

impl Rotate3<f32> for Vector3<f32>[src]

impl Rotate3<f64> for Vector3<f64>[src]

impl Rotate3<i16> for Vector3<i16>[src]

impl Rotate3<i32> for Vector3<i32>[src]

impl Rotate3<i64> for Vector3<i64>[src]

impl Rotate3<i8> for Vector3<i8>[src]

impl<'_, F> Sub<&'_ Vector3<FPN<i16, F>>> for &'_ FVector3<i16, F> where
    F: Unsigned
[src]

type Output = FVector3<i16, F>

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i32, F>>> for &'_ FVector3<i32, F> where
    F: Unsigned
[src]

type Output = FVector3<i32, F>

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i64, F>>> for &'_ FVector3<i64, F> where
    F: Unsigned
[src]

type Output = FVector3<i64, F>

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i8, F>>> for &'_ FVector3<i8, F> where
    F: Unsigned
[src]

type Output = FVector3<i8, F>

The resulting type after applying the - operator.

impl<'_, F> Sub<&'_ Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<f32>> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<f32>> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<f64>> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<f64>> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i16>> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i16>> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i32>> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i32>> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i64>> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i64>> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i8>> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Vector3<i8>> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the - operator.

impl<F> Sub<Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<Vector3<FPN<i16, F>>> for &'_ FVector3<i16, F> where
    F: Unsigned
[src]

type Output = FVector3<i16, F>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<Vector3<FPN<i32, F>>> for &'_ FVector3<i32, F> where
    F: Unsigned
[src]

type Output = FVector3<i32, F>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<Vector3<FPN<i64, F>>> for &'_ FVector3<i64, F> where
    F: Unsigned
[src]

type Output = FVector3<i64, F>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> Sub<Vector3<FPN<i8, F>>> for &'_ FVector3<i8, F> where
    F: Unsigned
[src]

type Output = FVector3<i8, F>

The resulting type after applying the - operator.

impl Sub<Vector3<f32>> for Vector3<f32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<f32>> for &'_ Vector3<f32>[src]

type Output = Vector3<f32>

The resulting type after applying the - operator.

impl Sub<Vector3<f64>> for Vector3<f64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<f64>> for &'_ Vector3<f64>[src]

type Output = Vector3<f64>

The resulting type after applying the - operator.

impl Sub<Vector3<i16>> for Vector3<i16>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<i16>> for &'_ Vector3<i16>[src]

type Output = Vector3<i16>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<i16>> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Vector3<i32>> for Vector3<i32>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<i32>> for &'_ Vector3<i32>[src]

type Output = Vector3<i32>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<i32>> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Vector3<i64>> for Vector3<i64>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<i64>> for &'_ Vector3<i64>[src]

type Output = Vector3<i64>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<i64>> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Vector3<i8>> for Vector3<i8>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> Sub<Vector3<i8>> for &'_ Vector3<i8>[src]

type Output = Vector3<i8>

The resulting type after applying the - operator.

impl<F> Sub<Vector3<i8>> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_, F> SubAssign<&'_ Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

impl<'_, F> SubAssign<&'_ Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

impl<'_, F> SubAssign<&'_ Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

impl<'_, F> SubAssign<&'_ Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

impl<'_> SubAssign<&'_ Vector3<f32>> for Vector3<f32>[src]

impl<'_> SubAssign<&'_ Vector3<f64>> for Vector3<f64>[src]

impl<'_> SubAssign<&'_ Vector3<i16>> for Vector3<i16>[src]

impl<'_> SubAssign<&'_ Vector3<i32>> for Vector3<i32>[src]

impl<'_> SubAssign<&'_ Vector3<i64>> for Vector3<i64>[src]

impl<'_> SubAssign<&'_ Vector3<i8>> for Vector3<i8>[src]

impl<F> SubAssign<Vector3<FPN<i16, F>>> for FVector3<i16, F> where
    F: Unsigned
[src]

impl<F> SubAssign<Vector3<FPN<i32, F>>> for FVector3<i32, F> where
    F: Unsigned
[src]

impl<F> SubAssign<Vector3<FPN<i64, F>>> for FVector3<i64, F> where
    F: Unsigned
[src]

impl<F> SubAssign<Vector3<FPN<i8, F>>> for FVector3<i8, F> where
    F: Unsigned
[src]

impl SubAssign<Vector3<f32>> for Vector3<f32>[src]

impl SubAssign<Vector3<f64>> for Vector3<f64>[src]

impl SubAssign<Vector3<i16>> for Vector3<i16>[src]

impl<F> SubAssign<Vector3<i16>> for Vector3<FPN<i16, F>> where
    F: Unsigned
[src]

impl SubAssign<Vector3<i32>> for Vector3<i32>[src]

impl<F> SubAssign<Vector3<i32>> for Vector3<FPN<i32, F>> where
    F: Unsigned
[src]

impl SubAssign<Vector3<i64>> for Vector3<i64>[src]

impl<F> SubAssign<Vector3<i64>> for Vector3<FPN<i64, F>> where
    F: Unsigned
[src]

impl SubAssign<Vector3<i8>> for Vector3<i8>[src]

impl<F> SubAssign<Vector3<i8>> for Vector3<FPN<i8, F>> where
    F: Unsigned
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Vector3<T> where
    T: RefUnwindSafe

impl<T> Send for Vector3<T> where
    T: Send

impl<T> Sync for Vector3<T> where
    T: Sync

impl<T> Unpin for Vector3<T> where
    T: Unpin

impl<T> UnwindSafe for Vector3<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.