# [−][src]Struct cgmath::Vector3

A 3-dimensional vector.

This type is marked as `#[repr(C)]`

.

## Fields

`x: S`

The x component of the vector.

`y: S`

The y component of the vector.

`z: S`

The z component of the vector.

## Methods

`impl<S> Vector3<S>`

[src]

`impl<S> Vector3<S>`

`pub const fn new(x: S, y: S, z: S) -> Vector3<S>` | [src] |

Construct a new vector, using the provided values.

`pub fn map<U, F>(self, f: F) -> Vector3<U> where` | [src] |

Perform the given operation on each field in the vector, returning a new point constructed from the operations.

`impl<S: NumCast + Copy> Vector3<S>`

[src]

`impl<S: NumCast + Copy> Vector3<S>`

`impl<S: BaseNum> Vector3<S>`

[src]

`impl<S: BaseNum> Vector3<S>`

`pub fn unit_x() -> Vector3<S>` | [src] |

A unit vector in the `x`

direction.

`pub fn unit_y() -> Vector3<S>` | [src] |

A unit vector in the `y`

direction.

`pub fn unit_z() -> Vector3<S>` | [src] |

A unit vector in the `z`

direction.

`pub fn cross(self, other: Vector3<S>) -> Vector3<S>` | [src] |

Returns the cross product of the vector and `other`

.

`pub fn extend(self, w: S) -> Vector4<S>` | [src] |

Create a `Vector4`

, using the `x`

, `y`

and `z`

values from this vector, and the
provided `w`

.

`pub fn truncate(self) -> Vector2<S>` | [src] |

Create a `Vector2`

, dropping the `z`

value.

## Trait Implementations

`impl<S: Copy> Array for Vector3<S>`

[src]

`impl<S: Copy> Array for Vector3<S>`

`type Element = S`

`fn len() -> usize` | [src] |

`fn from_value(scalar: S) -> Vector3<S>` | [src] |

`fn sum(self) -> S where` | [src] |

`fn product(self) -> S where` | [src] |

`fn is_finite(&self) -> bool where` | [src] |

`fn as_ptr(&self) -> *const Self::Element` | [src] |

Get the pointer to the first element of the array.

`fn as_mut_ptr(&mut self) -> *mut Self::Element` | [src] |

Get a mutable pointer to the first element of the array.

`fn swap_elements(&mut self, i: usize, j: usize)` | [src] |

Swap the elements at indices `i`

and `j`

in-place.

`impl<S: BaseNum> ElementWise<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum> ElementWise<Vector3<S>> for Vector3<S>`

`fn add_element_wise(self, rhs: Vector3<S>) -> Vector3<S>` | [src] |

`fn sub_element_wise(self, rhs: Vector3<S>) -> Vector3<S>` | [src] |

`fn mul_element_wise(self, rhs: Vector3<S>) -> Vector3<S>` | [src] |

`fn div_element_wise(self, rhs: Vector3<S>) -> Vector3<S>` | [src] |

`fn rem_element_wise(self, rhs: Vector3<S>) -> Vector3<S>` | [src] |

`fn add_assign_element_wise(&mut self, rhs: Vector3<S>)` | [src] |

`fn sub_assign_element_wise(&mut self, rhs: Vector3<S>)` | [src] |

`fn mul_assign_element_wise(&mut self, rhs: Vector3<S>)` | [src] |

`fn div_assign_element_wise(&mut self, rhs: Vector3<S>)` | [src] |

`fn rem_assign_element_wise(&mut self, rhs: Vector3<S>)` | [src] |

`impl<S: BaseNum> ElementWise<S> for Vector3<S>`

[src]

`impl<S: BaseNum> ElementWise<S> for Vector3<S>`

`fn add_element_wise(self, rhs: S) -> Vector3<S>` | [src] |

`fn sub_element_wise(self, rhs: S) -> Vector3<S>` | [src] |

`fn mul_element_wise(self, rhs: S) -> Vector3<S>` | [src] |

`fn div_element_wise(self, rhs: S) -> Vector3<S>` | [src] |

`fn rem_element_wise(self, rhs: S) -> Vector3<S>` | [src] |

`fn add_assign_element_wise(&mut self, rhs: S)` | [src] |

`fn sub_assign_element_wise(&mut self, rhs: S)` | [src] |

`fn mul_assign_element_wise(&mut self, rhs: S)` | [src] |

`fn div_assign_element_wise(&mut self, rhs: S)` | [src] |

`fn rem_assign_element_wise(&mut self, rhs: S)` | [src] |

`impl<S: BaseNum> VectorSpace for Vector3<S>`

[src]

`impl<S: BaseNum> VectorSpace for Vector3<S>`

`type Scalar = S`

The associated scalar.

`fn lerp(self, other: Self, amount: Self::Scalar) -> Self` | [src] |

Returns the result of linearly interpolating the vector towards `other`

by the specified amount. Read more

`impl<S: BaseFloat> MetricSpace for Vector3<S>`

[src]

`impl<S: BaseFloat> MetricSpace for Vector3<S>`

`type Metric = S`

The metric to be returned by the `distance`

function.

`fn distance2(self, other: Self) -> S` | [src] |

`fn distance(self, other: Self) -> Self::Metric` | [src] |

The distance between two values.

`impl<S: BaseFloat> InnerSpace for Vector3<S>`

[src]

`impl<S: BaseFloat> InnerSpace for Vector3<S>`

`fn dot(self, other: Vector3<S>) -> S` | [src] |

`fn angle(self, other: Vector3<S>) -> Rad<S>` | [src] |

`fn is_perpendicular(self, other: Self) -> bool` | [src] |

Returns `true`

if the vector is perpendicular (at right angles) to the other vector. Read more

`fn magnitude2(self) -> Self::Scalar` | [src] |

Returns the squared magnitude. Read more

`fn magnitude(self) -> Self::Scalar` | [src] |

The distance from the tail to the tip of the vector.

`fn normalize(self) -> Self` | [src] |

Returns a vector with the same direction, but with a magnitude of `1`

.

`fn normalize_to(self, magnitude: Self::Scalar) -> Self` | [src] |

Returns a vector with the same direction and a given magnitude.

`fn project_on(self, other: Self) -> Self` | [src] |

Returns the vector projection of the current inner space projected onto the supplied argument. Read more

`impl<S: Clone> From<[S; 3]> for Vector3<S>`

[src]

`impl<S: Clone> From<[S; 3]> for Vector3<S>`

`impl<'a, S> From<&'a [S; 3]> for &'a Vector3<S>`

[src]

`impl<'a, S> From<&'a [S; 3]> for &'a Vector3<S>`

`impl<'a, S> From<&'a mut [S; 3]> for &'a mut Vector3<S>`

[src]

`impl<'a, S> From<&'a mut [S; 3]> for &'a mut Vector3<S>`

`impl<S> From<(S, S, S)> for Vector3<S>`

[src]

`impl<S> From<(S, S, S)> for Vector3<S>`

`impl<'a, S> From<&'a (S, S, S)> for &'a Vector3<S>`

[src]

`impl<'a, S> From<&'a (S, S, S)> for &'a Vector3<S>`

`impl<'a, S> From<&'a mut (S, S, S)> for &'a mut Vector3<S>`

[src]

`impl<'a, S> From<&'a mut (S, S, S)> for &'a mut Vector3<S>`

`impl<S: Eq> Eq for Vector3<S>`

[src]

`impl<S: Eq> Eq for Vector3<S>`

`impl<S> Into<[S; 3]> for Vector3<S>`

[src]

`impl<S> Into<[S; 3]> for Vector3<S>`

`impl<S> Into<(S, S, S)> for Vector3<S>`

[src]

`impl<S> Into<(S, S, S)> for Vector3<S>`

`impl<S> AsMut<[S; 3]> for Vector3<S>`

[src]

`impl<S> AsMut<[S; 3]> for Vector3<S>`

`impl<S> AsMut<(S, S, S)> for Vector3<S>`

[src]

`impl<S> AsMut<(S, S, S)> for Vector3<S>`

`impl<S: Copy> Copy for Vector3<S>`

[src]

`impl<S: Copy> Copy for Vector3<S>`

`impl<S: PartialEq> PartialEq<Vector3<S>> for Vector3<S>`

[src]

`impl<S: PartialEq> PartialEq<Vector3<S>> for Vector3<S>`

`impl<S> AsRef<[S; 3]> for Vector3<S>`

[src]

`impl<S> AsRef<[S; 3]> for Vector3<S>`

`impl<S> AsRef<(S, S, S)> for Vector3<S>`

[src]

`impl<S> AsRef<(S, S, S)> for Vector3<S>`

`impl<S: Clone> Clone for Vector3<S>`

[src]

`impl<S: Clone> Clone for Vector3<S>`

`fn clone(&self) -> Vector3<S>` | [src] |

`fn clone_from(&mut self, source: &Self)` | 1.0.0 [src] |

Performs copy-assignment from `source`

. Read more

`impl<S: Debug> Debug for Vector3<S>`

[src]

`impl<S: Debug> Debug for Vector3<S>`

`impl<S: Hash> Hash for Vector3<S>`

[src]

`impl<S: Hash> Hash for Vector3<S>`

`fn hash<__HS: Hasher>(&self, state: &mut __HS)` | [src] |

`fn hash_slice<H>(data: &[Self], state: &mut H) where` | 1.3.0 [src] |

Feeds a slice of this type into the given [`Hasher`

]. Read more

`impl<S: BaseNum> Add<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum> Add<Vector3<S>> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Add<&'a Vector3<S>> for Vector3<S>`

[src]

`impl<'a, S: BaseNum> Add<&'a Vector3<S>> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Add<Vector3<S>> for &'a Vector3<S>`

[src]

`impl<'a, S: BaseNum> Add<Vector3<S>> for &'a Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, 'b, S: BaseNum> Add<&'a Vector3<S>> for &'b Vector3<S>`

[src]

`impl<'a, 'b, S: BaseNum> Add<&'a Vector3<S>> for &'b Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<S: BaseNum> Add<Vector3<S>> for Point3<S>`

[src]

`impl<S: BaseNum> Add<Vector3<S>> for Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, S: BaseNum> Add<&'a Vector3<S>> for Point3<S>`

[src]

`impl<'a, S: BaseNum> Add<&'a Vector3<S>> for Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: &'a Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, S: BaseNum> Add<Vector3<S>> for &'a Point3<S>`

[src]

`impl<'a, S: BaseNum> Add<Vector3<S>> for &'a Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, 'b, S: BaseNum> Add<&'a Vector3<S>> for &'b Point3<S>`

[src]

`impl<'a, 'b, S: BaseNum> Add<&'a Vector3<S>> for &'b Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `+`

operator.

`fn add(self, other: &'a Vector3<S>) -> Point3<S>` | [src] |

`impl<S: BaseNum> Sub<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum> Sub<Vector3<S>> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Sub<&'a Vector3<S>> for Vector3<S>`

[src]

`impl<'a, S: BaseNum> Sub<&'a Vector3<S>> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Sub<Vector3<S>> for &'a Vector3<S>`

[src]

`impl<'a, S: BaseNum> Sub<Vector3<S>> for &'a Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, 'b, S: BaseNum> Sub<&'a Vector3<S>> for &'b Vector3<S>`

[src]

`impl<'a, 'b, S: BaseNum> Sub<&'a Vector3<S>> for &'b Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<S: BaseNum> Sub<Vector3<S>> for Point3<S>`

[src]

`impl<S: BaseNum> Sub<Vector3<S>> for Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, S: BaseNum> Sub<&'a Vector3<S>> for Point3<S>`

[src]

`impl<'a, S: BaseNum> Sub<&'a Vector3<S>> for Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: &'a Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, S: BaseNum> Sub<Vector3<S>> for &'a Point3<S>`

[src]

`impl<'a, S: BaseNum> Sub<Vector3<S>> for &'a Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: Vector3<S>) -> Point3<S>` | [src] |

`impl<'a, 'b, S: BaseNum> Sub<&'a Vector3<S>> for &'b Point3<S>`

[src]

`impl<'a, 'b, S: BaseNum> Sub<&'a Vector3<S>> for &'b Point3<S>`

`type Output = Point3<S>`

The resulting type after applying the `-`

operator.

`fn sub(self, other: &'a Vector3<S>) -> Point3<S>` | [src] |

`impl<S: BaseFloat> Mul<Vector3<S>> for Matrix3<S>`

[src]

`impl<S: BaseFloat> Mul<Vector3<S>> for Matrix3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseFloat> Mul<&'a Vector3<S>> for Matrix3<S>`

[src]

`impl<'a, S: BaseFloat> Mul<&'a Vector3<S>> for Matrix3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseFloat> Mul<Vector3<S>> for &'a Matrix3<S>`

[src]

`impl<'a, S: BaseFloat> Mul<Vector3<S>> for &'a Matrix3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, 'b, S: BaseFloat> Mul<&'a Vector3<S>> for &'b Matrix3<S>`

[src]

`impl<'a, 'b, S: BaseFloat> Mul<&'a Vector3<S>> for &'b Matrix3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<S: BaseFloat> Mul<Vector3<S>> for Quaternion<S>`

[src]

`impl<S: BaseFloat> Mul<Vector3<S>> for Quaternion<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseFloat> Mul<&'a Vector3<S>> for Quaternion<S>`

[src]

`impl<'a, S: BaseFloat> Mul<&'a Vector3<S>> for Quaternion<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, S: BaseFloat> Mul<Vector3<S>> for &'a Quaternion<S>`

[src]

`impl<'a, S: BaseFloat> Mul<Vector3<S>> for &'a Quaternion<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<S>) -> Vector3<S>` | [src] |

`impl<'a, 'b, S: BaseFloat> Mul<&'a Vector3<S>> for &'b Quaternion<S>`

[src]

`impl<'a, 'b, S: BaseFloat> Mul<&'a Vector3<S>> for &'b Quaternion<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<S>) -> Vector3<S>` | [src] |

`impl<S: BaseNum> Mul<S> for Vector3<S>`

[src]

`impl<S: BaseNum> Mul<S> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: S) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Mul<S> for &'a Vector3<S>`

[src]

`impl<'a, S: BaseNum> Mul<S> for &'a Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: S) -> Vector3<S>` | [src] |

`impl Mul<Vector3<usize>> for usize`

[src]

`impl Mul<Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<usize>) -> Vector3<usize>` | [src] |

`impl<'a> Mul<&'a Vector3<usize>> for usize`

[src]

`impl<'a> Mul<&'a Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<usize>) -> Vector3<usize>` | [src] |

`impl Mul<Vector3<u8>> for u8`

[src]

`impl Mul<Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<u8>) -> Vector3<u8>` | [src] |

`impl<'a> Mul<&'a Vector3<u8>> for u8`

[src]

`impl<'a> Mul<&'a Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<u8>) -> Vector3<u8>` | [src] |

`impl Mul<Vector3<u16>> for u16`

[src]

`impl Mul<Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<u16>) -> Vector3<u16>` | [src] |

`impl<'a> Mul<&'a Vector3<u16>> for u16`

[src]

`impl<'a> Mul<&'a Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<u16>) -> Vector3<u16>` | [src] |

`impl Mul<Vector3<u32>> for u32`

[src]

`impl Mul<Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<u32>) -> Vector3<u32>` | [src] |

`impl<'a> Mul<&'a Vector3<u32>> for u32`

[src]

`impl<'a> Mul<&'a Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<u32>) -> Vector3<u32>` | [src] |

`impl Mul<Vector3<u64>> for u64`

[src]

`impl Mul<Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<u64>) -> Vector3<u64>` | [src] |

`impl<'a> Mul<&'a Vector3<u64>> for u64`

[src]

`impl<'a> Mul<&'a Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<u64>) -> Vector3<u64>` | [src] |

`impl Mul<Vector3<isize>> for isize`

[src]

`impl Mul<Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<isize>) -> Vector3<isize>` | [src] |

`impl<'a> Mul<&'a Vector3<isize>> for isize`

[src]

`impl<'a> Mul<&'a Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<isize>) -> Vector3<isize>` | [src] |

`impl Mul<Vector3<i8>> for i8`

[src]

`impl Mul<Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<i8>) -> Vector3<i8>` | [src] |

`impl<'a> Mul<&'a Vector3<i8>> for i8`

[src]

`impl<'a> Mul<&'a Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<i8>) -> Vector3<i8>` | [src] |

`impl Mul<Vector3<i16>> for i16`

[src]

`impl Mul<Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<i16>) -> Vector3<i16>` | [src] |

`impl<'a> Mul<&'a Vector3<i16>> for i16`

[src]

`impl<'a> Mul<&'a Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<i16>) -> Vector3<i16>` | [src] |

`impl Mul<Vector3<i32>> for i32`

[src]

`impl Mul<Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<i32>) -> Vector3<i32>` | [src] |

`impl<'a> Mul<&'a Vector3<i32>> for i32`

[src]

`impl<'a> Mul<&'a Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<i32>) -> Vector3<i32>` | [src] |

`impl Mul<Vector3<i64>> for i64`

[src]

`impl Mul<Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<i64>) -> Vector3<i64>` | [src] |

`impl<'a> Mul<&'a Vector3<i64>> for i64`

[src]

`impl<'a> Mul<&'a Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<i64>) -> Vector3<i64>` | [src] |

`impl Mul<Vector3<f32>> for f32`

[src]

`impl Mul<Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<f32>) -> Vector3<f32>` | [src] |

`impl<'a> Mul<&'a Vector3<f32>> for f32`

[src]

`impl<'a> Mul<&'a Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<f32>) -> Vector3<f32>` | [src] |

`impl Mul<Vector3<f64>> for f64`

[src]

`impl Mul<Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<'a> Mul<&'a Vector3<f64>> for f64`

[src]

`impl<'a> Mul<&'a Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `*`

operator.

`fn mul(self, other: &'a Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<S: BaseNum> Div<S> for Vector3<S>`

[src]

`impl<S: BaseNum> Div<S> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `/`

operator.

`fn div(self, other: S) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Div<S> for &'a Vector3<S>`

[src]

`impl<'a, S: BaseNum> Div<S> for &'a Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `/`

operator.

`fn div(self, other: S) -> Vector3<S>` | [src] |

`impl Div<Vector3<usize>> for usize`

[src]

`impl Div<Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<usize>) -> Vector3<usize>` | [src] |

`impl<'a> Div<&'a Vector3<usize>> for usize`

[src]

`impl<'a> Div<&'a Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<usize>) -> Vector3<usize>` | [src] |

`impl Div<Vector3<u8>> for u8`

[src]

`impl Div<Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<u8>) -> Vector3<u8>` | [src] |

`impl<'a> Div<&'a Vector3<u8>> for u8`

[src]

`impl<'a> Div<&'a Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<u8>) -> Vector3<u8>` | [src] |

`impl Div<Vector3<u16>> for u16`

[src]

`impl Div<Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<u16>) -> Vector3<u16>` | [src] |

`impl<'a> Div<&'a Vector3<u16>> for u16`

[src]

`impl<'a> Div<&'a Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<u16>) -> Vector3<u16>` | [src] |

`impl Div<Vector3<u32>> for u32`

[src]

`impl Div<Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<u32>) -> Vector3<u32>` | [src] |

`impl<'a> Div<&'a Vector3<u32>> for u32`

[src]

`impl<'a> Div<&'a Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<u32>) -> Vector3<u32>` | [src] |

`impl Div<Vector3<u64>> for u64`

[src]

`impl Div<Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<u64>) -> Vector3<u64>` | [src] |

`impl<'a> Div<&'a Vector3<u64>> for u64`

[src]

`impl<'a> Div<&'a Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<u64>) -> Vector3<u64>` | [src] |

`impl Div<Vector3<isize>> for isize`

[src]

`impl Div<Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<isize>) -> Vector3<isize>` | [src] |

`impl<'a> Div<&'a Vector3<isize>> for isize`

[src]

`impl<'a> Div<&'a Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<isize>) -> Vector3<isize>` | [src] |

`impl Div<Vector3<i8>> for i8`

[src]

`impl Div<Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<i8>) -> Vector3<i8>` | [src] |

`impl<'a> Div<&'a Vector3<i8>> for i8`

[src]

`impl<'a> Div<&'a Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<i8>) -> Vector3<i8>` | [src] |

`impl Div<Vector3<i16>> for i16`

[src]

`impl Div<Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<i16>) -> Vector3<i16>` | [src] |

`impl<'a> Div<&'a Vector3<i16>> for i16`

[src]

`impl<'a> Div<&'a Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<i16>) -> Vector3<i16>` | [src] |

`impl Div<Vector3<i32>> for i32`

[src]

`impl Div<Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<i32>) -> Vector3<i32>` | [src] |

`impl<'a> Div<&'a Vector3<i32>> for i32`

[src]

`impl<'a> Div<&'a Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<i32>) -> Vector3<i32>` | [src] |

`impl Div<Vector3<i64>> for i64`

[src]

`impl Div<Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<i64>) -> Vector3<i64>` | [src] |

`impl<'a> Div<&'a Vector3<i64>> for i64`

[src]

`impl<'a> Div<&'a Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<i64>) -> Vector3<i64>` | [src] |

`impl Div<Vector3<f32>> for f32`

[src]

`impl Div<Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<f32>) -> Vector3<f32>` | [src] |

`impl<'a> Div<&'a Vector3<f32>> for f32`

[src]

`impl<'a> Div<&'a Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<f32>) -> Vector3<f32>` | [src] |

`impl Div<Vector3<f64>> for f64`

[src]

`impl Div<Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<'a> Div<&'a Vector3<f64>> for f64`

[src]

`impl<'a> Div<&'a Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `/`

operator.

`fn div(self, other: &'a Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<S: BaseNum> Rem<S> for Vector3<S>`

[src]

`impl<S: BaseNum> Rem<S> for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: S) -> Vector3<S>` | [src] |

`impl<'a, S: BaseNum> Rem<S> for &'a Vector3<S>`

[src]

`impl<'a, S: BaseNum> Rem<S> for &'a Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: S) -> Vector3<S>` | [src] |

`impl Rem<Vector3<usize>> for usize`

[src]

`impl Rem<Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<usize>) -> Vector3<usize>` | [src] |

`impl<'a> Rem<&'a Vector3<usize>> for usize`

[src]

`impl<'a> Rem<&'a Vector3<usize>> for usize`

`type Output = Vector3<usize>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<usize>) -> Vector3<usize>` | [src] |

`impl Rem<Vector3<u8>> for u8`

[src]

`impl Rem<Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<u8>) -> Vector3<u8>` | [src] |

`impl<'a> Rem<&'a Vector3<u8>> for u8`

[src]

`impl<'a> Rem<&'a Vector3<u8>> for u8`

`type Output = Vector3<u8>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<u8>) -> Vector3<u8>` | [src] |

`impl Rem<Vector3<u16>> for u16`

[src]

`impl Rem<Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<u16>) -> Vector3<u16>` | [src] |

`impl<'a> Rem<&'a Vector3<u16>> for u16`

[src]

`impl<'a> Rem<&'a Vector3<u16>> for u16`

`type Output = Vector3<u16>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<u16>) -> Vector3<u16>` | [src] |

`impl Rem<Vector3<u32>> for u32`

[src]

`impl Rem<Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<u32>) -> Vector3<u32>` | [src] |

`impl<'a> Rem<&'a Vector3<u32>> for u32`

[src]

`impl<'a> Rem<&'a Vector3<u32>> for u32`

`type Output = Vector3<u32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<u32>) -> Vector3<u32>` | [src] |

`impl Rem<Vector3<u64>> for u64`

[src]

`impl Rem<Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<u64>) -> Vector3<u64>` | [src] |

`impl<'a> Rem<&'a Vector3<u64>> for u64`

[src]

`impl<'a> Rem<&'a Vector3<u64>> for u64`

`type Output = Vector3<u64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<u64>) -> Vector3<u64>` | [src] |

`impl Rem<Vector3<isize>> for isize`

[src]

`impl Rem<Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<isize>) -> Vector3<isize>` | [src] |

`impl<'a> Rem<&'a Vector3<isize>> for isize`

[src]

`impl<'a> Rem<&'a Vector3<isize>> for isize`

`type Output = Vector3<isize>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<isize>) -> Vector3<isize>` | [src] |

`impl Rem<Vector3<i8>> for i8`

[src]

`impl Rem<Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<i8>) -> Vector3<i8>` | [src] |

`impl<'a> Rem<&'a Vector3<i8>> for i8`

[src]

`impl<'a> Rem<&'a Vector3<i8>> for i8`

`type Output = Vector3<i8>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<i8>) -> Vector3<i8>` | [src] |

`impl Rem<Vector3<i16>> for i16`

[src]

`impl Rem<Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<i16>) -> Vector3<i16>` | [src] |

`impl<'a> Rem<&'a Vector3<i16>> for i16`

[src]

`impl<'a> Rem<&'a Vector3<i16>> for i16`

`type Output = Vector3<i16>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<i16>) -> Vector3<i16>` | [src] |

`impl Rem<Vector3<i32>> for i32`

[src]

`impl Rem<Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<i32>) -> Vector3<i32>` | [src] |

`impl<'a> Rem<&'a Vector3<i32>> for i32`

[src]

`impl<'a> Rem<&'a Vector3<i32>> for i32`

`type Output = Vector3<i32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<i32>) -> Vector3<i32>` | [src] |

`impl Rem<Vector3<i64>> for i64`

[src]

`impl Rem<Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<i64>) -> Vector3<i64>` | [src] |

`impl<'a> Rem<&'a Vector3<i64>> for i64`

[src]

`impl<'a> Rem<&'a Vector3<i64>> for i64`

`type Output = Vector3<i64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<i64>) -> Vector3<i64>` | [src] |

`impl Rem<Vector3<f32>> for f32`

[src]

`impl Rem<Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<f32>) -> Vector3<f32>` | [src] |

`impl<'a> Rem<&'a Vector3<f32>> for f32`

[src]

`impl<'a> Rem<&'a Vector3<f32>> for f32`

`type Output = Vector3<f32>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<f32>) -> Vector3<f32>` | [src] |

`impl Rem<Vector3<f64>> for f64`

[src]

`impl Rem<Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<'a> Rem<&'a Vector3<f64>> for f64`

[src]

`impl<'a> Rem<&'a Vector3<f64>> for f64`

`type Output = Vector3<f64>`

The resulting type after applying the `%`

operator.

`fn rem(self, other: &'a Vector3<f64>) -> Vector3<f64>` | [src] |

`impl<S: Neg<Output = S>> Neg for Vector3<S>`

[src]

`impl<S: Neg<Output = S>> Neg for Vector3<S>`

`type Output = Vector3<S>`

The resulting type after applying the `-`

operator.

`fn neg(self) -> Vector3<S>` | [src] |

`impl<S: BaseNum + AddAssign<S>> AddAssign<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum + AddAssign<S>> AddAssign<Vector3<S>> for Vector3<S>`

`fn add_assign(&mut self, other: Vector3<S>)` | [src] |

`impl<S: BaseNum + AddAssign<S>> AddAssign<Vector3<S>> for Point3<S>`

[src]

`impl<S: BaseNum + AddAssign<S>> AddAssign<Vector3<S>> for Point3<S>`

`fn add_assign(&mut self, vector: Vector3<S>)` | [src] |

`impl<S: BaseNum + SubAssign<S>> SubAssign<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum + SubAssign<S>> SubAssign<Vector3<S>> for Vector3<S>`

`fn sub_assign(&mut self, other: Vector3<S>)` | [src] |

`impl<S: BaseNum + SubAssign<S>> SubAssign<Vector3<S>> for Point3<S>`

[src]

`impl<S: BaseNum + SubAssign<S>> SubAssign<Vector3<S>> for Point3<S>`

`fn sub_assign(&mut self, vector: Vector3<S>)` | [src] |

`impl<S: BaseNum + MulAssign<S>> MulAssign<S> for Vector3<S>`

[src]

`impl<S: BaseNum + MulAssign<S>> MulAssign<S> for Vector3<S>`

`fn mul_assign(&mut self, scalar: S)` | [src] |

`impl<S: BaseNum + DivAssign<S>> DivAssign<S> for Vector3<S>`

[src]

`impl<S: BaseNum + DivAssign<S>> DivAssign<S> for Vector3<S>`

`fn div_assign(&mut self, scalar: S)` | [src] |

`impl<S: BaseNum + RemAssign<S>> RemAssign<S> for Vector3<S>`

[src]

`impl<S: BaseNum + RemAssign<S>> RemAssign<S> for Vector3<S>`

`fn rem_assign(&mut self, scalar: S)` | [src] |

`impl<S> Index<usize> for Vector3<S>`

[src]

`impl<S> Index<usize> for Vector3<S>`

`impl<S> Index<Range<usize>> for Vector3<S>`

[src]

`impl<S> Index<Range<usize>> for Vector3<S>`

`type Output = [S]`

The returned type after indexing.

`fn index<'a>(&'a self, i: Range<usize>) -> &'a [S]` | [src] |

`impl<S> Index<RangeTo<usize>> for Vector3<S>`

[src]

`impl<S> Index<RangeTo<usize>> for Vector3<S>`

`type Output = [S]`

The returned type after indexing.

`fn index<'a>(&'a self, i: RangeTo<usize>) -> &'a [S]` | [src] |

`impl<S> Index<RangeFrom<usize>> for Vector3<S>`

[src]

`impl<S> Index<RangeFrom<usize>> for Vector3<S>`

`type Output = [S]`

The returned type after indexing.

`fn index<'a>(&'a self, i: RangeFrom<usize>) -> &'a [S]` | [src] |

`impl<S> Index<RangeFull> for Vector3<S>`

[src]

`impl<S> Index<RangeFull> for Vector3<S>`

`type Output = [S]`

The returned type after indexing.

`fn index<'a>(&'a self, i: RangeFull) -> &'a [S]` | [src] |

`impl<S> IndexMut<usize> for Vector3<S>`

[src]

`impl<S> IndexMut<usize> for Vector3<S>`

`impl<S> IndexMut<Range<usize>> for Vector3<S>`

[src]

`impl<S> IndexMut<Range<usize>> for Vector3<S>`

`fn index_mut<'a>(&'a mut self, i: Range<usize>) -> &'a mut [S]` | [src] |

`impl<S> IndexMut<RangeTo<usize>> for Vector3<S>`

[src]

`impl<S> IndexMut<RangeTo<usize>> for Vector3<S>`

`fn index_mut<'a>(&'a mut self, i: RangeTo<usize>) -> &'a mut [S]` | [src] |

`impl<S> IndexMut<RangeFrom<usize>> for Vector3<S>`

[src]

`impl<S> IndexMut<RangeFrom<usize>> for Vector3<S>`

`fn index_mut<'a>(&'a mut self, i: RangeFrom<usize>) -> &'a mut [S]` | [src] |

`impl<S> IndexMut<RangeFull> for Vector3<S>`

[src]

`impl<S> IndexMut<RangeFull> for Vector3<S>`

`fn index_mut<'a>(&'a mut self, i: RangeFull) -> &'a mut [S]` | [src] |

`impl<S: BaseNum> Sum<Vector3<S>> for Vector3<S>`

[src]

`impl<S: BaseNum> Sum<Vector3<S>> for Vector3<S>`

`impl<'a, S: 'a + BaseNum> Sum<&'a Vector3<S>> for Vector3<S>`

[src]

`impl<'a, S: 'a + BaseNum> Sum<&'a Vector3<S>> for Vector3<S>`

`impl<S: BaseFloat> AbsDiffEq for Vector3<S>`

[src]

`impl<S: BaseFloat> AbsDiffEq for Vector3<S>`

`type Epsilon = S::Epsilon`

Used for specifying relative comparisons.

`fn default_epsilon() -> S::Epsilon` | [src] |

`fn abs_diff_eq(&self, other: &Self, epsilon: S::Epsilon) -> bool` | [src] |

`fn abs_diff_ne(&self, other: &Self, epsilon: Self::Epsilon) -> bool` | [src] |

The inverse of `ApproxEq::abs_diff_eq`

.

`impl<S: BaseFloat> RelativeEq for Vector3<S>`

[src]

`impl<S: BaseFloat> RelativeEq for Vector3<S>`

`fn default_max_relative() -> S::Epsilon` | [src] |

`fn relative_eq(` | [src] |

`fn relative_ne(` | [src] |

The inverse of `ApproxEq::relative_eq`

.

`impl<S: BaseFloat> UlpsEq for Vector3<S>`

[src]

`impl<S: BaseFloat> UlpsEq for Vector3<S>`

`fn default_max_ulps() -> u32` | [src] |

`fn ulps_eq(&self, other: &Self, epsilon: S::Epsilon, max_ulps: u32) -> bool` | [src] |

`fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool` | [src] |

The inverse of `ApproxEq::ulps_eq`

.

`impl<S: Bounded> Bounded for Vector3<S>`

[src]

`impl<S: Bounded> Bounded for Vector3<S>`

`impl<S: BaseNum> Zero for Vector3<S>`

[src]

`impl<S: BaseNum> Zero for Vector3<S>`

`impl<S> Distribution<Vector3<S>> for Standard where`

Standard: Distribution<S>,

S: BaseFloat,

[src]

`impl<S> Distribution<Vector3<S>> for Standard where`

Standard: Distribution<S>,

S: BaseFloat,

## Auto Trait Implementations

## Blanket Implementations

`impl<T> From for T`

[src]

`impl<T> From for T`

`impl<T, U> Into for T where`

U: From<T>,

[src]

`impl<T, U> Into for T where`

U: From<T>,

`impl<T> ToOwned for T where`

T: Clone,

[src]

`impl<T> ToOwned for T where`

T: Clone,

`impl<T, U> TryFrom for T where`

T: From<U>,

[src]

`impl<T, U> TryFrom for T where`

T: From<U>,

`type Error = !`

`try_from`

)The type returned in the event of a conversion error.

`fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>` | [src] |

`impl<T> Borrow for T where`

T: ?Sized,

[src]

`impl<T> Borrow for T where`

T: ?Sized,

`impl<T> BorrowMut for T where`

T: ?Sized,

[src]

`impl<T> BorrowMut for T where`

T: ?Sized,

`fn borrow_mut(&mut self) -> &mut T` | [src] |

`impl<T, U> TryInto for T where`

U: TryFrom<T>,

[src]

`impl<T, U> TryInto for T where`

U: TryFrom<T>,

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

`try_from`

)The type returned in the event of a conversion error.

`fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>` | [src] |

`impl<T> Any for T where`

T: 'static + ?Sized,

[src]

`impl<T> Any for T where`

T: 'static + ?Sized,

`fn get_type_id(&self) -> TypeId` | [src] |

`impl<T, Rhs, Output> NumOps for T where`

T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

[src]

`impl<T, Rhs, Output> NumOps for T where`

T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

`impl<T, Rhs> NumAssignOps for T where`

T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

[src]

`impl<T, Rhs> NumAssignOps for T where`

T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,