[−][src]Struct cgmath::Point3
A point in 3-dimensional space.
This type is marked as #[repr(C)]
.
Fields
x: S
y: S
z: S
Methods
impl<S: BaseNum> Point3<S>
[src]
pub fn from_homogeneous(v: Vector4<S>) -> Point3<S>
[src]
pub fn to_homogeneous(self) -> Vector4<S>
[src]
impl<S> Point3<S>
[src]
pub const fn new(x: S, y: S, z: S) -> Point3<S>
[src]
Construct a new point, using the provided values.
pub fn map<U, F>(self, f: F) -> Point3<U> where
F: FnMut(S) -> U,
[src]
F: FnMut(S) -> U,
Perform the given operation on each field in the point, returning a new point constructed from the operations.
impl<S: NumCast + Copy> Point3<S>
[src]
Trait Implementations
impl<S: BaseNum> Array for Point3<S>
[src]
type Element = S
fn len() -> usize
[src]
fn from_value(scalar: S) -> Point3<S>
[src]
fn sum(self) -> S where
S: Add<Output = S>,
[src]
S: Add<Output = S>,
fn product(self) -> S where
S: Mul<Output = S>,
[src]
S: Mul<Output = S>,
fn is_finite(&self) -> bool where
S: BaseFloat,
[src]
S: BaseFloat,
fn as_ptr(&self) -> *const Self::Element
[src]
fn as_mut_ptr(&mut self) -> *mut Self::Element
[src]
fn swap_elements(&mut self, i: usize, j: usize)
[src]
impl<S: BaseNum> ElementWise<Point3<S>> for Point3<S>
[src]
fn add_element_wise(self, rhs: Point3<S>) -> Point3<S>
[src]
fn sub_element_wise(self, rhs: Point3<S>) -> Point3<S>
[src]
fn mul_element_wise(self, rhs: Point3<S>) -> Point3<S>
[src]
fn div_element_wise(self, rhs: Point3<S>) -> Point3<S>
[src]
fn rem_element_wise(self, rhs: Point3<S>) -> Point3<S>
[src]
fn add_assign_element_wise(&mut self, rhs: Point3<S>)
[src]
fn sub_assign_element_wise(&mut self, rhs: Point3<S>)
[src]
fn mul_assign_element_wise(&mut self, rhs: Point3<S>)
[src]
fn div_assign_element_wise(&mut self, rhs: Point3<S>)
[src]
fn rem_assign_element_wise(&mut self, rhs: Point3<S>)
[src]
impl<S: BaseNum> ElementWise<S> for Point3<S>
[src]
fn add_element_wise(self, rhs: S) -> Point3<S>
[src]
fn sub_element_wise(self, rhs: S) -> Point3<S>
[src]
fn mul_element_wise(self, rhs: S) -> Point3<S>
[src]
fn div_element_wise(self, rhs: S) -> Point3<S>
[src]
fn rem_element_wise(self, rhs: S) -> Point3<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: BaseFloat> MetricSpace for Point3<S>
[src]
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]
impl<S: BaseNum> EuclideanSpace for Point3<S>
[src]
type Scalar = S
The associated scalar over which the space is defined. Read more
type Diff = Vector3<S>
The associated space of displacement vectors.
fn origin() -> Point3<S>
[src]
fn from_vec(v: Vector3<S>) -> Point3<S>
[src]
fn to_vec(self) -> Vector3<S>
[src]
fn dot(self, v: Vector3<S>) -> S
[src]
fn midpoint(self, other: Self) -> Self
[src]
fn centroid(points: &[Self]) -> Self
[src]
impl<S: BaseFloat> Rotation<Point3<S>> for Quaternion<S>
[src]
fn look_at(dir: Vector3<S>, up: Vector3<S>) -> Quaternion<S>
[src]
fn between_vectors(a: Vector3<S>, b: Vector3<S>) -> Quaternion<S>
[src]
fn rotate_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn invert(&self) -> Quaternion<S>
[src]
fn rotate_point(&self, point: P) -> P
[src]
impl<S: BaseFloat> Rotation<Point3<S>> for Basis3<S>
[src]
fn look_at(dir: Vector3<S>, up: Vector3<S>) -> Basis3<S>
[src]
fn between_vectors(a: Vector3<S>, b: Vector3<S>) -> Basis3<S>
[src]
fn rotate_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn invert(&self) -> Basis3<S>
[src]
fn rotate_point(&self, point: P) -> P
[src]
impl<S: BaseFloat> Transform<Point3<S>> for Matrix3<S>
[src]
fn one() -> Matrix3<S>
[src]
fn look_at(eye: Point3<S>, center: Point3<S>, up: Vector3<S>) -> Matrix3<S>
[src]
fn transform_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn transform_point(&self, point: Point3<S>) -> Point3<S>
[src]
fn concat(&self, other: &Matrix3<S>) -> Matrix3<S>
[src]
fn inverse_transform(&self) -> Option<Matrix3<S>>
[src]
fn inverse_transform_vector(&self, vec: P::Diff) -> Option<P::Diff>
[src]
fn concat_self(&mut self, other: &Self)
[src]
impl<S: BaseFloat> Transform<Point3<S>> for Matrix4<S>
[src]
fn one() -> Matrix4<S>
[src]
fn look_at(eye: Point3<S>, center: Point3<S>, up: Vector3<S>) -> Matrix4<S>
[src]
fn transform_vector(&self, vec: Vector3<S>) -> Vector3<S>
[src]
fn transform_point(&self, point: Point3<S>) -> Point3<S>
[src]
fn concat(&self, other: &Matrix4<S>) -> Matrix4<S>
[src]
fn inverse_transform(&self) -> Option<Matrix4<S>>
[src]
fn inverse_transform_vector(&self, vec: P::Diff) -> Option<P::Diff>
[src]
fn concat_self(&mut self, other: &Self)
[src]
impl<S> Into<[S; 3]> for Point3<S>
[src]
impl<S> Into<(S, S, S)> for Point3<S>
[src]
impl<S: Eq> Eq for Point3<S>
[src]
impl<S> AsMut<[S; 3]> for Point3<S>
[src]
impl<S> AsMut<(S, S, S)> for Point3<S>
[src]
impl<S: Clone> Clone for Point3<S>
[src]
impl<S> AsRef<[S; 3]> for Point3<S>
[src]
impl<S> AsRef<(S, S, S)> for Point3<S>
[src]
impl<S: PartialEq> PartialEq<Point3<S>> for Point3<S>
[src]
impl<S: Clone> From<[S; 3]> for Point3<S>
[src]
impl<'a, S> From<&'a [S; 3]> for &'a Point3<S>
[src]
impl<'a, S> From<&'a mut [S; 3]> for &'a mut Point3<S>
[src]
impl<S> From<(S, S, S)> for Point3<S>
[src]
impl<'a, S> From<&'a (S, S, S)> for &'a Point3<S>
[src]
impl<'a, S> From<&'a mut (S, S, S)> for &'a mut Point3<S>
[src]
impl<S: Copy> Copy for Point3<S>
[src]
impl<S: Hash> Hash for Point3<S>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<S: BaseNum> Add<Vector3<S>> for Point3<S>
[src]
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]
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]
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]
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 Point3<S>
[src]
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]
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]
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]
type Output = Point3<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Vector3<S>) -> Point3<S>
[src]
impl<S: BaseNum> Sub<Point3<S>> for Point3<S>
[src]
type Output = Vector3<S>
The resulting type after applying the -
operator.
fn sub(self, other: Point3<S>) -> Vector3<S>
[src]
impl<'a, S: BaseNum> Sub<&'a Point3<S>> for Point3<S>
[src]
type Output = Vector3<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Point3<S>) -> Vector3<S>
[src]
impl<'a, S: BaseNum> Sub<Point3<S>> for &'a Point3<S>
[src]
type Output = Vector3<S>
The resulting type after applying the -
operator.
fn sub(self, other: Point3<S>) -> Vector3<S>
[src]
impl<'a, 'b, S: BaseNum> Sub<&'a Point3<S>> for &'b Point3<S>
[src]
type Output = Vector3<S>
The resulting type after applying the -
operator.
fn sub(self, other: &'a Point3<S>) -> Vector3<S>
[src]
impl<S: BaseNum> Mul<S> for Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Point3<S>
[src]
impl<'a, S: BaseNum> Mul<S> for &'a Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the *
operator.
fn mul(self, other: S) -> Point3<S>
[src]
impl Mul<Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<usize>) -> Point3<usize>
[src]
impl<'a> Mul<&'a Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<usize>) -> Point3<usize>
[src]
impl Mul<Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<u8>) -> Point3<u8>
[src]
impl<'a> Mul<&'a Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<u8>) -> Point3<u8>
[src]
impl Mul<Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<u16>) -> Point3<u16>
[src]
impl<'a> Mul<&'a Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<u16>) -> Point3<u16>
[src]
impl Mul<Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<u32>) -> Point3<u32>
[src]
impl<'a> Mul<&'a Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<u32>) -> Point3<u32>
[src]
impl Mul<Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<u64>) -> Point3<u64>
[src]
impl<'a> Mul<&'a Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<u64>) -> Point3<u64>
[src]
impl Mul<Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<isize>) -> Point3<isize>
[src]
impl<'a> Mul<&'a Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<isize>) -> Point3<isize>
[src]
impl Mul<Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<i8>) -> Point3<i8>
[src]
impl<'a> Mul<&'a Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<i8>) -> Point3<i8>
[src]
impl Mul<Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<i16>) -> Point3<i16>
[src]
impl<'a> Mul<&'a Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<i16>) -> Point3<i16>
[src]
impl Mul<Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<i32>) -> Point3<i32>
[src]
impl<'a> Mul<&'a Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<i32>) -> Point3<i32>
[src]
impl Mul<Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<i64>) -> Point3<i64>
[src]
impl<'a> Mul<&'a Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<i64>) -> Point3<i64>
[src]
impl Mul<Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<f32>) -> Point3<f32>
[src]
impl<'a> Mul<&'a Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<f32>) -> Point3<f32>
[src]
impl Mul<Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the *
operator.
fn mul(self, other: Point3<f64>) -> Point3<f64>
[src]
impl<'a> Mul<&'a Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the *
operator.
fn mul(self, other: &'a Point3<f64>) -> Point3<f64>
[src]
impl<S: BaseNum> Div<S> for Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Point3<S>
[src]
impl<'a, S: BaseNum> Div<S> for &'a Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the /
operator.
fn div(self, other: S) -> Point3<S>
[src]
impl Div<Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the /
operator.
fn div(self, other: Point3<usize>) -> Point3<usize>
[src]
impl<'a> Div<&'a Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<usize>) -> Point3<usize>
[src]
impl Div<Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the /
operator.
fn div(self, other: Point3<u8>) -> Point3<u8>
[src]
impl<'a> Div<&'a Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<u8>) -> Point3<u8>
[src]
impl Div<Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the /
operator.
fn div(self, other: Point3<u16>) -> Point3<u16>
[src]
impl<'a> Div<&'a Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<u16>) -> Point3<u16>
[src]
impl Div<Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the /
operator.
fn div(self, other: Point3<u32>) -> Point3<u32>
[src]
impl<'a> Div<&'a Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<u32>) -> Point3<u32>
[src]
impl Div<Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the /
operator.
fn div(self, other: Point3<u64>) -> Point3<u64>
[src]
impl<'a> Div<&'a Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<u64>) -> Point3<u64>
[src]
impl Div<Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the /
operator.
fn div(self, other: Point3<isize>) -> Point3<isize>
[src]
impl<'a> Div<&'a Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<isize>) -> Point3<isize>
[src]
impl Div<Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the /
operator.
fn div(self, other: Point3<i8>) -> Point3<i8>
[src]
impl<'a> Div<&'a Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<i8>) -> Point3<i8>
[src]
impl Div<Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the /
operator.
fn div(self, other: Point3<i16>) -> Point3<i16>
[src]
impl<'a> Div<&'a Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<i16>) -> Point3<i16>
[src]
impl Div<Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the /
operator.
fn div(self, other: Point3<i32>) -> Point3<i32>
[src]
impl<'a> Div<&'a Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<i32>) -> Point3<i32>
[src]
impl Div<Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the /
operator.
fn div(self, other: Point3<i64>) -> Point3<i64>
[src]
impl<'a> Div<&'a Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<i64>) -> Point3<i64>
[src]
impl Div<Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the /
operator.
fn div(self, other: Point3<f32>) -> Point3<f32>
[src]
impl<'a> Div<&'a Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<f32>) -> Point3<f32>
[src]
impl Div<Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the /
operator.
fn div(self, other: Point3<f64>) -> Point3<f64>
[src]
impl<'a> Div<&'a Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the /
operator.
fn div(self, other: &'a Point3<f64>) -> Point3<f64>
[src]
impl<S: BaseNum> Rem<S> for Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Point3<S>
[src]
impl<'a, S: BaseNum> Rem<S> for &'a Point3<S>
[src]
type Output = Point3<S>
The resulting type after applying the %
operator.
fn rem(self, other: S) -> Point3<S>
[src]
impl Rem<Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<usize>) -> Point3<usize>
[src]
impl<'a> Rem<&'a Point3<usize>> for usize
[src]
type Output = Point3<usize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<usize>) -> Point3<usize>
[src]
impl Rem<Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<u8>) -> Point3<u8>
[src]
impl<'a> Rem<&'a Point3<u8>> for u8
[src]
type Output = Point3<u8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<u8>) -> Point3<u8>
[src]
impl Rem<Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<u16>) -> Point3<u16>
[src]
impl<'a> Rem<&'a Point3<u16>> for u16
[src]
type Output = Point3<u16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<u16>) -> Point3<u16>
[src]
impl Rem<Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<u32>) -> Point3<u32>
[src]
impl<'a> Rem<&'a Point3<u32>> for u32
[src]
type Output = Point3<u32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<u32>) -> Point3<u32>
[src]
impl Rem<Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<u64>) -> Point3<u64>
[src]
impl<'a> Rem<&'a Point3<u64>> for u64
[src]
type Output = Point3<u64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<u64>) -> Point3<u64>
[src]
impl Rem<Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<isize>) -> Point3<isize>
[src]
impl<'a> Rem<&'a Point3<isize>> for isize
[src]
type Output = Point3<isize>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<isize>) -> Point3<isize>
[src]
impl Rem<Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<i8>) -> Point3<i8>
[src]
impl<'a> Rem<&'a Point3<i8>> for i8
[src]
type Output = Point3<i8>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<i8>) -> Point3<i8>
[src]
impl Rem<Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<i16>) -> Point3<i16>
[src]
impl<'a> Rem<&'a Point3<i16>> for i16
[src]
type Output = Point3<i16>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<i16>) -> Point3<i16>
[src]
impl Rem<Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<i32>) -> Point3<i32>
[src]
impl<'a> Rem<&'a Point3<i32>> for i32
[src]
type Output = Point3<i32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<i32>) -> Point3<i32>
[src]
impl Rem<Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<i64>) -> Point3<i64>
[src]
impl<'a> Rem<&'a Point3<i64>> for i64
[src]
type Output = Point3<i64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<i64>) -> Point3<i64>
[src]
impl Rem<Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<f32>) -> Point3<f32>
[src]
impl<'a> Rem<&'a Point3<f32>> for f32
[src]
type Output = Point3<f32>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<f32>) -> Point3<f32>
[src]
impl Rem<Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the %
operator.
fn rem(self, other: Point3<f64>) -> Point3<f64>
[src]
impl<'a> Rem<&'a Point3<f64>> for f64
[src]
type Output = Point3<f64>
The resulting type after applying the %
operator.
fn rem(self, other: &'a Point3<f64>) -> Point3<f64>
[src]
impl<S: BaseNum + AddAssign<S>> AddAssign<Vector3<S>> for Point3<S>
[src]
fn add_assign(&mut self, vector: Vector3<S>)
[src]
impl<S: BaseNum + SubAssign<S>> SubAssign<Vector3<S>> for Point3<S>
[src]
fn sub_assign(&mut self, vector: Vector3<S>)
[src]
impl<S: BaseNum + MulAssign<S>> MulAssign<S> for Point3<S>
[src]
fn mul_assign(&mut self, scalar: S)
[src]
impl<S: BaseNum + DivAssign<S>> DivAssign<S> for Point3<S>
[src]
fn div_assign(&mut self, scalar: S)
[src]
impl<S: BaseNum + RemAssign<S>> RemAssign<S> for Point3<S>
[src]
fn rem_assign(&mut self, scalar: S)
[src]
impl<S> Index<usize> for Point3<S>
[src]
impl<S> Index<Range<usize>> for Point3<S>
[src]
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 Point3<S>
[src]
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 Point3<S>
[src]
type Output = [S]
The returned type after indexing.
fn index<'a>(&'a self, i: RangeFrom<usize>) -> &'a [S]
[src]
impl<S> Index<RangeFull> for Point3<S>
[src]
type Output = [S]
The returned type after indexing.
fn index<'a>(&'a self, i: RangeFull) -> &'a [S]
[src]
impl<S> IndexMut<usize> for Point3<S>
[src]
impl<S> IndexMut<Range<usize>> for Point3<S>
[src]
fn index_mut<'a>(&'a mut self, i: Range<usize>) -> &'a mut [S]
[src]
impl<S> IndexMut<RangeTo<usize>> for Point3<S>
[src]
fn index_mut<'a>(&'a mut self, i: RangeTo<usize>) -> &'a mut [S]
[src]
impl<S> IndexMut<RangeFrom<usize>> for Point3<S>
[src]
fn index_mut<'a>(&'a mut self, i: RangeFrom<usize>) -> &'a mut [S]
[src]
impl<S> IndexMut<RangeFull> for Point3<S>
[src]
fn index_mut<'a>(&'a mut self, i: RangeFull) -> &'a mut [S]
[src]
impl<S: Debug> Debug for Point3<S>
[src]
impl<S: BaseFloat> AbsDiffEq<Point3<S>> for Point3<S>
[src]
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: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
impl<S: BaseFloat> RelativeEq<Point3<S>> for Point3<S>
[src]
fn default_max_relative() -> S::Epsilon
[src]
fn relative_eq(
&self,
other: &Self,
epsilon: S::Epsilon,
max_relative: S::Epsilon
) -> bool
[src]
&self,
other: &Self,
epsilon: S::Epsilon,
max_relative: S::Epsilon
) -> bool
fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<S: BaseFloat> UlpsEq<Point3<S>> for Point3<S>
[src]
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: &Rhs, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
impl<S: Bounded> Bounded for Point3<S>
[src]
Auto Trait Implementations
impl<S> Send for Point3<S> where
S: Send,
S: Send,
impl<S> Unpin for Point3<S> where
S: Unpin,
S: Unpin,
impl<S> Sync for Point3<S> where
S: Sync,
S: Sync,
impl<S> UnwindSafe for Point3<S> where
S: UnwindSafe,
S: UnwindSafe,
impl<S> RefUnwindSafe for Point3<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Rhs, Output> NumOps<Rhs, Output> 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]
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<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,