Struct rin::math::Point [−][src]
#[repr(C)]pub struct Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>, { pub coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>, }
A point in an euclidean space.
The difference between a point and a vector is only semantic. See the user guide
for details on the distinction. The most notable difference that vectors ignore translations.
In particular, an Isometry2
or Isometry3
will
transform points by applying a rotation and a translation on them. However, these isometries
will only apply rotations to vectors (when doing isometry * vector
, the translation part of
the isometry is ignored).
Construction
- From individual components
new
… - Swizzling
xx
,yxz
… - Other construction methods
origin
,from_slice
,from_homogeneous
…
Transformation
Transforming a point by an Isometry, rotation, etc. can be
achieved by multiplication, e.g., isometry * point
or rotation * point
. Some of these transformation
may have some other methods, e.g., isometry.inverse_transform_point(&point)
. See the documentation
of said transformations for details.
Fields
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
The coordinates of this point, i.e., the shift from the origin.
Implementations
impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn map<N2, F>(&self, f: F) -> Point<N2, D> where
F: FnMut(N) -> N2,
N2: Scalar,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
F: FnMut(N) -> N2,
N2: Scalar,
DefaultAllocator: Allocator<N2, D, U1>,
Returns a point containing the result of f
applied to each of its entries.
Example
let p = Point2::new(1.0, 2.0); assert_eq!(p.map(|e| e * 10.0), Point2::new(10.0, 20.0)); // This works in any dimension. let p = Point3::new(1.1, 2.1, 3.1); assert_eq!(p.map(|e| e as u32), Point3::new(1, 2, 3));
pub fn apply<F>(&mut self, f: F) where
F: FnMut(N) -> N,
[src]
F: FnMut(N) -> N,
Replaces each component of self
by the result of a closure f
applied on it.
Example
let mut p = Point2::new(1.0, 2.0); p.apply(|e| e * 10.0); assert_eq!(p, Point2::new(10.0, 20.0)); // This works in any dimension. let mut p = Point3::new(1.0, 2.0, 3.0); p.apply(|e| e * 10.0); assert_eq!(p, Point3::new(10.0, 20.0, 30.0));
pub fn to_homogeneous(
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
N: One,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
N: One,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
Converts this point into a vector in homogeneous coordinates, i.e., appends a 1
at the
end of it.
This is the same as .into()
.
Example
let p = Point2::new(10.0, 20.0); assert_eq!(p.to_homogeneous(), Vector3::new(10.0, 20.0, 1.0)); // This works in any dimension. let p = Point3::new(10.0, 20.0, 30.0); assert_eq!(p.to_homogeneous(), Vector4::new(10.0, 20.0, 30.0, 1.0));
pub fn from_coordinates(
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Point<N, D>
[src]
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Point<N, D>
Use Point::from(vector) instead.
Creates a new point with the given coordinates.
pub fn len(&self) -> usize
[src]
The dimension of this point.
Example
let p = Point2::new(1.0, 2.0); assert_eq!(p.len(), 2); // This works in any dimension. let p = Point3::new(10.0, 20.0, 30.0); assert_eq!(p.len(), 3);
pub fn is_empty(&self) -> bool
[src]
Returns true if the point contains no elements.
Example
let p = Point2::new(1.0, 2.0); assert!(!p.is_empty());
pub fn stride(&self) -> usize
[src]
This methods is no longer significant and will always return 1.
The stride of this point. This is the number of buffer element separating each component of this point.
pub fn iter(
&self
) -> MatrixIter<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘNotable traits for MatrixIter<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
C: Dim,
N: Scalar,
R: Dim,
S: 'a + Storage<N, R, C>, type Item = &'a N;
[src]
&self
) -> MatrixIter<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘ
Notable traits for MatrixIter<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
C: Dim,
N: Scalar,
R: Dim,
S: 'a + Storage<N, R, C>, type Item = &'a N;
Iterates through this point coordinates.
Example
let p = Point3::new(1.0, 2.0, 3.0); let mut it = p.iter().cloned(); assert_eq!(it.next(), Some(1.0)); assert_eq!(it.next(), Some(2.0)); assert_eq!(it.next(), Some(3.0)); assert_eq!(it.next(), None);
pub unsafe fn get_unchecked(&self, i: usize) -> &N
[src]
Gets a reference to i-th element of this point without bound-checking.
pub fn iter_mut(
&mut self
) -> MatrixIterMut<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘNotable traits for MatrixIterMut<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIterMut<'a, N, R, C, S> where
C: Dim,
N: Scalar,
R: Dim,
S: 'a + StorageMut<N, R, C>, type Item = &'a mut N;
[src]
&mut self
) -> MatrixIterMut<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘ
Notable traits for MatrixIterMut<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIterMut<'a, N, R, C, S> where
C: Dim,
N: Scalar,
R: Dim,
S: 'a + StorageMut<N, R, C>, type Item = &'a mut N;
Mutably iterates through this point coordinates.
Example
let mut p = Point3::new(1.0, 2.0, 3.0); for e in p.iter_mut() { *e *= 10.0; } assert_eq!(p, Point3::new(10.0, 20.0, 30.0));
pub unsafe fn get_unchecked_mut(&mut self, i: usize) -> &mut N
[src]
Gets a mutable reference to i-th element of this point without bound-checking.
pub unsafe fn swap_unchecked(&mut self, i1: usize, i2: usize)
[src]
Swaps two entries without bound-checking.
impl<N, D> Point<N, D> where
N: Scalar + SimdPartialOrd,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
N: Scalar + SimdPartialOrd,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn inf(&self, other: &Point<N, D>) -> Point<N, D>
[src]
Computes the infimum (aka. componentwise min) of two points.
pub fn sup(&self, other: &Point<N, D>) -> Point<N, D>
[src]
Computes the supremum (aka. componentwise max) of two points.
pub fn inf_sup(&self, other: &Point<N, D>) -> (Point<N, D>, Point<N, D>)
[src]
Computes the (infimum, supremum) of two points.
impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub unsafe fn new_uninitialized() -> Point<N, D>
[src]
Creates a new point with uninitialized coordinates.
pub fn origin() -> Point<N, D> where
N: Zero,
[src]
N: Zero,
Creates a new point with all coordinates equal to zero.
Example
// This works in any dimension. // The explicit crate::<f32> type annotation may not always be needed, // depending on the context of type inference. let pt = Point2::<f32>::origin(); assert!(pt.x == 0.0 && pt.y == 0.0); let pt = Point3::<f32>::origin(); assert!(pt.x == 0.0 && pt.y == 0.0 && pt.z == 0.0);
pub fn from_slice(components: &[N]) -> Point<N, D>
[src]
Creates a new point from a slice.
Example
let data = [ 1.0, 2.0, 3.0 ]; let pt = Point2::from_slice(&data[..2]); assert_eq!(pt, Point2::new(1.0, 2.0)); let pt = Point3::from_slice(&data); assert_eq!(pt, Point3::new(1.0, 2.0, 3.0));
pub fn from_homogeneous(
v: Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Option<Point<N, D>> where
N: Scalar + Zero + One + ClosedDiv<N>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
v: Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Option<Point<N, D>> where
N: Scalar + Zero + One + ClosedDiv<N>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
Creates a new point from its homogeneous vector representation.
In practice, this builds a D-dimensional points with the same first D component as v
divided by the last component of v
. Returns None
if this divisor is zero.
Example
let coords = Vector4::new(1.0, 2.0, 3.0, 1.0); let pt = Point3::from_homogeneous(coords); assert_eq!(pt, Some(Point3::new(1.0, 2.0, 3.0))); // All component of the result will be divided by the // last component of the vector, here 2.0. let coords = Vector4::new(1.0, 2.0, 3.0, 2.0); let pt = Point3::from_homogeneous(coords); assert_eq!(pt, Some(Point3::new(0.5, 1.0, 1.5))); // Fails because the last component is zero. let coords = Vector4::new(1.0, 2.0, 3.0, 0.0); let pt = Point3::from_homogeneous(coords); assert!(pt.is_none()); // Works also in other dimensions. let coords = Vector3::new(1.0, 2.0, 1.0); let pt = Point2::from_homogeneous(coords); assert_eq!(pt, Some(Point2::new(1.0, 2.0)));
impl<N> Point<N, U1> where
N: Scalar,
[src]
impl<N> Point<N, U1> where
N: Scalar,
[src]impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn xx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
Builds a new point from components of self
.
pub fn xy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
impl<N> Point<N, U2> where
N: Scalar,
[src]
impl<N> Point<N, U2> where
N: Scalar,
[src]impl<N> Point<N, U3> where
N: Scalar,
[src]
impl<N> Point<N, U3> where
N: Scalar,
[src]impl<N> Point<N, U4> where
N: Scalar,
[src]
impl<N> Point<N, U4> where
N: Scalar,
[src]impl<N> Point<N, U5> where
N: Scalar,
[src]
impl<N> Point<N, U5> where
N: Scalar,
[src]impl<N> Point<N, U6> where
N: Scalar,
[src]
impl<N> Point<N, U6> where
N: Scalar,
[src]Trait Implementations
impl<N, D> AbsDiffEq<Point<N, D>> for Point<N, D> where
N: Scalar + AbsDiffEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> AbsDiffEq<Point<N, D>> for Point<N, D> where
N: Scalar + AbsDiffEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]type Epsilon = <N as AbsDiffEq<N>>::Epsilon
Used for specifying relative comparisons.
pub fn default_epsilon() -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
[src]
pub fn abs_diff_eq(
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
impl<'a, 'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, 'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D1, D2, SB> AddAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<'b, N, D1, D2, SB> AddAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn add_assign(&mut self, right: &'b Matrix<N, D2, U1, SB>)
[src]
impl<N, D1, D2, SB> AddAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<N, D1, D2, SB> AddAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn add_assign(&mut self, right: Matrix<N, D2, U1, SB>)
[src]
impl<T> AsPnt<Point<T, U1>> for Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U1>> for Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsPnt<Point<T, U2>> for Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U2>> for Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsPnt<Point<T, U3>> for Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U3>> for Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsPnt<Point<T, U4>> for Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U4>> for Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsPnt<Point<T, U5>> for Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U5>> for Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsPnt<Point<T, U6>> for Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> AsPnt<Point<T, U6>> for Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer>> for Point<T, U1> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer>> for Point<T, U1> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point<T, U2> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point<T, U2> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>> for Point<T, U3> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>> for Point<T, U3> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer>> for Point<T, U4> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer>> for Point<T, U4> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer>> for Point<T, U5> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer>> for Point<T, U5> where
T: Scalar,
[src]impl<T> AsVec<Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer>> for Point<T, U6> where
T: Scalar,
[src]
impl<T> AsVec<Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer>> for Point<T, U6> where
T: Scalar,
[src]impl<N, D> Bounded for Point<N, D> where
N: Scalar + Bounded,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Bounded for Point<N, D> where
N: Scalar + Bounded,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Clone for Point<N, D> where
N: Clone + Scalar,
D: Clone + DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Clone for Point<N, D> where
N: Clone + Scalar,
D: Clone + DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Debug for Point<N, D> where
N: Debug + Scalar,
D: Debug + DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Debug for Point<N, D> where
N: Debug + Scalar,
D: Debug + DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Deserialize<'a> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Deserialize<'a>,
[src]
impl<'a, N, D> Deserialize<'a> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Deserialize<'a>,
[src]pub fn deserialize<Des>(
deserializer: Des
) -> Result<Point<N, D>, <Des as Deserializer<'a>>::Error> where
Des: Deserializer<'a>,
[src]
deserializer: Des
) -> Result<Point<N, D>, <Des as Deserializer<'a>>::Error> where
Des: Deserializer<'a>,
impl<N, D> Display for Point<N, D> where
N: Scalar + Display,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Display for Point<N, D> where
N: Scalar + Display,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Div<N> for Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Div<N> for Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Div<N> for &'a Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Div<N> for &'a Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> DivAssign<N> for Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> DivAssign<N> for Point<N, D> where
N: Scalar + ClosedDiv<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn div_assign(&mut self, right: N)
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 16]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 16]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 16]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 16]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 2]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 2]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 2]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 2]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 4]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 4]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 4]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 4]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 8]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 8]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 8]> for Point<N, D> where
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 8]>,
D: DimName,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> From<Point<N, D>> for Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
N: Scalar + Zero + One,
D: DimName + DimNameAdd<U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
impl<N, D> From<Point<N, D>> for Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
N: Scalar + Zero + One,
D: DimName + DimNameAdd<U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]pub fn from(
t: Point<N, D>
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
[src]
t: Point<N, D>
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
impl<N, D> Hash for Point<N, D> where
N: Scalar + Hash,
D: DimName + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
[src]
impl<N, D> Hash for Point<N, D> where
N: Scalar + Hash,
D: DimName + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
[src]impl<N, D> Index<usize> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Index<usize> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> IndexMut<usize> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> IndexMut<usize> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<T> InsidePolygon<T> for Point<T, U2> where
T: RealField + NumCast,
[src]
impl<T> InsidePolygon<T> for Point<T, U2> where
T: RealField + NumCast,
[src]pub fn inside_polygon(&self, polygon: &Polyline<T>, bound: bool) -> bool
[src]
impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, 'b, N, D, C> Mul<&'b Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'a, 'b, N, D, C> Mul<&'b Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'b, N, D, C> Mul<&'b Point<N, D>> for Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'b, N, D, C> Mul<&'b Point<N, D>> for Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'b, N, D> Mul<&'b Point<N, D>> for Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'b, N, D> Mul<&'b Point<N, D>> for Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, D, R> Mul<&'b Point<N, D>> for Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'b, N, D, R> Mul<&'b Point<N, D>> for Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, D, R> Mul<&'b Point<N, D>> for Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'b, N, D, R> Mul<&'b Point<N, D>> for Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'a, 'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'a, 'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'b, N> Mul<&'b Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'b, N> Mul<&'b Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<'a, 'b, N> Mul<&'b Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'a, 'b, N> Mul<&'b Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<'b, N> Mul<&'b Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'b, N> Mul<&'b Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'a, 'b, N> Mul<&'b Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'a, 'b, N> Mul<&'b Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'b, D> Mul<&'b Point<f32, D>> for f32 where
D: DimName,
DefaultAllocator: Allocator<f32, D, U1>,
[src]
impl<'b, D> Mul<&'b Point<f32, D>> for f32 where
D: DimName,
DefaultAllocator: Allocator<f32, D, U1>,
[src]impl<'a, N, D> Mul<N> for &'a Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Mul<N> for &'a Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Mul<N> for Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Mul<N> for Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D, R> Mul<Point<N, D>> for Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D, R> Mul<Point<N, D>> for Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Mul<Point<N, D>> for Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<N, D> Mul<Point<N, D>> for Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'a, N, D, C> Mul<Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'a, N, D, C> Mul<Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, N, D, R> Mul<Point<N, D>> for &'a Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D, R> Mul<Point<N, D>> for &'a Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D, C> Mul<Point<N, D>> for Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<N, D, C> Mul<Point<N, D>> for Transform<N, D, C> where
C: TCategory,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<N, D, R> Mul<Point<N, D>> for Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D, R> Mul<Point<N, D>> for Similarity<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Mul<Point<N, D>> for &'a Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'a, N, D> Mul<Point<N, D>> for &'a Rotation<N, D> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, N, D, R> Mul<Point<N, D>> for &'a Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D, R> Mul<Point<N, D>> for &'a Isometry<N, D, R> where
N: SimdRealField,
D: DimName,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, R1, C1, D2, SA> Mul<Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'a, N, R1, C1, D2, SA> Mul<Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<N, R1, C1, D2, SA> Mul<Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<N, R1, C1, D2, SA> Mul<Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
D2: DimName,
C1: Dim,
R1: DimName,
SA: Storage<N, R1, C1>,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'a, N> Mul<Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'a, N> Mul<Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<N> Mul<Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<N> Mul<Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<N> Mul<Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<N> Mul<Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'a, N> Mul<Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'a, N> Mul<Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<N, D> MulAssign<N> for Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> MulAssign<N> for Point<N, D> where
N: Scalar + ClosedMul<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn mul_assign(&mut self, right: N)
[src]
impl<N, D> Neg for Point<N, D> where
N: Scalar + ClosedNeg,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Neg for Point<N, D> where
N: Scalar + ClosedNeg,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Neg for &'a Point<N, D> where
N: Scalar + ClosedNeg,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Neg for &'a Point<N, D> where
N: Scalar + ClosedNeg,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N> NumPnt for Point<N, U5> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U5> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U5, U1, <DefaultAllocator as Allocator<N, U5, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U5> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U5> as NumPnt>::Coordinates
) -> Point<N, U5>
[src]
coords: <Point<N, U5> as NumPnt>::Coordinates
) -> Point<N, U5>
impl<N> NumPnt for Point<N, U3> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U3> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U3> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U3> as NumPnt>::Coordinates
) -> Point<N, U3>
[src]
coords: <Point<N, U3> as NumPnt>::Coordinates
) -> Point<N, U3>
impl<N> NumPnt for Point<N, U2> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U2> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U2> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U2> as NumPnt>::Coordinates
) -> Point<N, U2>
[src]
coords: <Point<N, U2> as NumPnt>::Coordinates
) -> Point<N, U2>
impl<N> NumPnt for Point<N, U4> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U4> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U4, U1, <DefaultAllocator as Allocator<N, U4, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U4> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U4> as NumPnt>::Coordinates
) -> Point<N, U4>
[src]
coords: <Point<N, U4> as NumPnt>::Coordinates
) -> Point<N, U4>
impl<N> NumPnt for Point<N, U6> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U6> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U6, U1, <DefaultAllocator as Allocator<N, U6, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U6> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U6> as NumPnt>::Coordinates
) -> Point<N, U6>
[src]
coords: <Point<N, U6> as NumPnt>::Coordinates
) -> Point<N, U6>
impl<N> NumPnt for Point<N, U1> where
N: BaseNum,
[src]
impl<N> NumPnt for Point<N, U1> where
N: BaseNum,
[src]type Field = N
type Coordinates = Matrix<N, U1, U1, <DefaultAllocator as Allocator<N, U1, U1>>::Buffer>
pub fn coordinates(&self) -> <Point<N, U1> as NumPnt>::Coordinates
[src]
pub fn from_coordiantes(
coords: <Point<N, U1> as NumPnt>::Coordinates
) -> Point<N, U1>
[src]
coords: <Point<N, U1> as NumPnt>::Coordinates
) -> Point<N, U1>
impl<N, D> PartialEq<Point<N, D>> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> PartialEq<Point<N, D>> for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> PartialOrd<Point<N, D>> for Point<N, D> where
N: Scalar + PartialOrd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> PartialOrd<Point<N, D>> for Point<N, D> where
N: Scalar + PartialOrd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> RelativeEq<Point<N, D>> for Point<N, D> where
N: Scalar + RelativeEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> RelativeEq<Point<N, D>> for Point<N, D> where
N: Scalar + RelativeEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]pub fn default_max_relative(
) -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
[src]
) -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
pub fn relative_eq(
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon,
max_relative: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon,
max_relative: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
pub 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<N, D> Serialize for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Serialize,
[src]
impl<N, D> Serialize for Point<N, D> where
N: Scalar,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Serialize,
[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<N, D> SimdValue for Point<N, D> where
N: Scalar + SimdValue,
D: DimName,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
impl<N, D> SimdValue for Point<N, D> where
N: Scalar + SimdValue,
D: DimName,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]type Element = Point<<N as SimdValue>::Element, D>
The type of the elements of each lane of this SIMD value.
type SimdBool = <N as SimdValue>::SimdBool
Type of the result of comparing two SIMD values like self
.
pub fn lanes() -> usize
[src]
pub fn splat(val: <Point<N, D> as SimdValue>::Element) -> Point<N, D>
[src]
pub fn extract(&self, i: usize) -> <Point<N, D> as SimdValue>::Element
[src]
pub unsafe fn extract_unchecked(
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
pub fn replace(&mut self, i: usize, val: <Point<N, D> as SimdValue>::Element)
[src]
pub unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Point<N, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Point<N, D> as SimdValue>::Element
)
pub fn select(
self,
cond: <Point<N, D> as SimdValue>::SimdBool,
other: Point<N, D>
) -> Point<N, D>
[src]
self,
cond: <Point<N, D> as SimdValue>::SimdBool,
other: Point<N, D>
) -> Point<N, D>
pub fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self where
Self: Clone,
[src]
Self: Clone,
pub fn zip_map_lanes(
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
[src]
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
impl<'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, 'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, 'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D> Sub<&'b Point<N, D>> for Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'b, N, D> Sub<&'b Point<N, D>> for Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: &'b Point<N, D>
) -> <Point<N, D> as Sub<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <Point<N, D> as Sub<&'b Point<N, D>>>::Output
impl<'a, 'b, N, D> Sub<&'b Point<N, D>> for &'a Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'a, 'b, N, D> Sub<&'b Point<N, D>> for &'a Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: &'b Point<N, D>
) -> <&'a Point<N, D> as Sub<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <&'a Point<N, D> as Sub<&'b Point<N, D>>>::Output
impl<'a, N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, N, D> Sub<Point<N, D>> for &'a Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'a, N, D> Sub<Point<N, D>> for &'a Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: Point<N, D>
) -> <&'a Point<N, D> as Sub<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <&'a Point<N, D> as Sub<Point<N, D>>>::Output
impl<N, D> Sub<Point<N, D>> for Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<N, D> Sub<Point<N, D>> for Point<N, D> where
N: Scalar + ClosedSub<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: Point<N, D>
) -> <Point<N, D> as Sub<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <Point<N, D> as Sub<Point<N, D>>>::Output
impl<'b, N, D1, D2, SB> SubAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<'b, N, D1, D2, SB> SubAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn sub_assign(&mut self, right: &'b Matrix<N, D2, U1, SB>)
[src]
impl<N, D1, D2, SB> SubAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<N, D1, D2, SB> SubAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
D1: DimName,
SB: Storage<N, D2, U1>,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn sub_assign(&mut self, right: Matrix<N, D2, U1, SB>)
[src]
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>> for Point<N1, D> where
D: DimNameAdd<U1>,
N1: Scalar,
N2: Scalar + Zero + One + ClosedDiv<N2> + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>> for Point<N1, D> where
D: DimNameAdd<U1>,
N1: Scalar,
N2: Scalar + Zero + One + ClosedDiv<N2> + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]pub fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
pub fn is_in_subset(
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> bool
[src]
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> bool
pub fn from_superset_unchecked(
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Point<N1, D>
[src]
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Point<N1, D>
pub fn from_superset(element: &T) -> Option<Self>
[src]
impl<N1, N2, D> SubsetOf<Point<N2, D>> for Point<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, D, U1>,
[src]
impl<N1, N2, D> SubsetOf<Point<N2, D>> for Point<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, D, U1>,
[src]pub fn to_superset(&self) -> Point<N2, D>
[src]
pub fn is_in_subset(m: &Point<N2, D>) -> bool
[src]
pub fn from_superset_unchecked(m: &Point<N2, D>) -> Point<N1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
[src]
impl<T> Swizzles2Mut<T> for Point<T, U5> where
T: Scalar,
[src]
impl<T> Swizzles2Mut<T> for Point<T, U5> where
T: Scalar,
[src]impl<T> Swizzles2Mut<T> for Point<T, U3> where
T: Scalar,
[src]
impl<T> Swizzles2Mut<T> for Point<T, U3> where
T: Scalar,
[src]impl<T> Swizzles2Mut<T> for Point<T, U4> where
T: Scalar,
[src]
impl<T> Swizzles2Mut<T> for Point<T, U4> where
T: Scalar,
[src]impl<T> Swizzles2Mut<T> for Point<T, U2> where
T: Scalar,
[src]
impl<T> Swizzles2Mut<T> for Point<T, U2> where
T: Scalar,
[src]impl<T> Swizzles2Mut<T> for Point<T, U6> where
T: Scalar,
[src]
impl<T> Swizzles2Mut<T> for Point<T, U6> where
T: Scalar,
[src]impl<T> Swizzles3<T> for Point<T, U4> where
T: Scalar,
[src]
impl<T> Swizzles3<T> for Point<T, U4> where
T: Scalar,
[src]type Swizzle3 = Point<T, U3>
pub fn xyz(&self) -> Point<T, U3>
[src]
pub fn xzy(&self) -> Point<T, U3>
[src]
pub fn yxz(&self) -> Point<T, U3>
[src]
pub fn yzx(&self) -> Point<T, U3>
[src]
pub fn zxy(&self) -> Point<T, U3>
[src]
pub fn zyx(&self) -> Point<T, U3>
[src]
pub fn yz(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn xz(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn zy(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn zx(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles3<T> for Point<T, U3> where
T: Scalar,
[src]
impl<T> Swizzles3<T> for Point<T, U3> where
T: Scalar,
[src]type Swizzle3 = Point<T, U3>
pub fn xyz(&self) -> Point<T, U3>
[src]
pub fn xzy(&self) -> Point<T, U3>
[src]
pub fn yxz(&self) -> Point<T, U3>
[src]
pub fn yzx(&self) -> Point<T, U3>
[src]
pub fn zxy(&self) -> Point<T, U3>
[src]
pub fn zyx(&self) -> Point<T, U3>
[src]
pub fn yz(&self) -> <Point<T, U3> as Swizzles2<T>>::Swizzle2
[src]
pub fn xz(&self) -> <Point<T, U3> as Swizzles2<T>>::Swizzle2
[src]
pub fn zy(&self) -> <Point<T, U3> as Swizzles2<T>>::Swizzle2
[src]
pub fn zx(&self) -> <Point<T, U3> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles3<T> for Point<T, U5> where
T: Scalar,
[src]
impl<T> Swizzles3<T> for Point<T, U5> where
T: Scalar,
[src]type Swizzle3 = Point<T, U3>
pub fn xyz(&self) -> Point<T, U3>
[src]
pub fn xzy(&self) -> Point<T, U3>
[src]
pub fn yxz(&self) -> Point<T, U3>
[src]
pub fn yzx(&self) -> Point<T, U3>
[src]
pub fn zxy(&self) -> Point<T, U3>
[src]
pub fn zyx(&self) -> Point<T, U3>
[src]
pub fn yz(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn xz(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn zy(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn zx(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles3<T> for Point<T, U6> where
T: Scalar,
[src]
impl<T> Swizzles3<T> for Point<T, U6> where
T: Scalar,
[src]type Swizzle3 = Point<T, U3>
pub fn xyz(&self) -> Point<T, U3>
[src]
pub fn xzy(&self) -> Point<T, U3>
[src]
pub fn yxz(&self) -> Point<T, U3>
[src]
pub fn yzx(&self) -> Point<T, U3>
[src]
pub fn zxy(&self) -> Point<T, U3>
[src]
pub fn zyx(&self) -> Point<T, U3>
[src]
pub fn yz(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn xz(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn zy(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn zx(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles3Mut<T> for Point<T, U6> where
T: Scalar,
[src]
impl<T> Swizzles3Mut<T> for Point<T, U6> where
T: Scalar,
[src]pub fn set_xyz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_xzy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yxz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yzx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zxy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zyx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yz(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_xz(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zy(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zx(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles3Mut<T> for Point<T, U5> where
T: Scalar,
[src]
impl<T> Swizzles3Mut<T> for Point<T, U5> where
T: Scalar,
[src]pub fn set_xyz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_xzy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yxz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yzx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zxy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zyx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yz(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_xz(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zy(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zx(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles3Mut<T> for Point<T, U3> where
T: Scalar,
[src]
impl<T> Swizzles3Mut<T> for Point<T, U3> where
T: Scalar,
[src]pub fn set_xyz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_xzy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yxz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yzx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zxy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zyx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yz(&mut self, right: &<Point<T, U3> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_xz(&mut self, right: &<Point<T, U3> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zy(&mut self, right: &<Point<T, U3> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zx(&mut self, right: &<Point<T, U3> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles3Mut<T> for Point<T, U4> where
T: Scalar,
[src]
impl<T> Swizzles3Mut<T> for Point<T, U4> where
T: Scalar,
[src]pub fn set_xyz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_xzy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yxz(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yzx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zxy(&mut self, right: &Point<T, U3>)
[src]
pub fn set_zyx(&mut self, right: &Point<T, U3>)
[src]
pub fn set_yz(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_xz(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zy(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zx(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles4<T> for Point<T, U4> where
T: Scalar,
[src]
impl<T> Swizzles4<T> for Point<T, U4> where
T: Scalar,
[src]type Swizzle4 = Point<T, U4>
pub fn xyzw(&self) -> <Point<T, U4> as Swizzles4<T>>::Swizzle4
[src]
pub fn xyw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn yxw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxy(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyx(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn yzw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn zyw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyz(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzy(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn xzw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn zxw(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxz(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzx(&self) -> <Point<T, U4> as Swizzles3<T>>::Swizzle3
[src]
pub fn xw(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn yw(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn zw(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn wx(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn wy(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
pub fn wz(&self) -> <Point<T, U4> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles4<T> for Point<T, U5> where
T: Scalar,
[src]
impl<T> Swizzles4<T> for Point<T, U5> where
T: Scalar,
[src]type Swizzle4 = Point<T, U4>
pub fn xyzw(&self) -> <Point<T, U5> as Swizzles4<T>>::Swizzle4
[src]
pub fn xyw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn yxw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxy(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyx(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn yzw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn zyw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyz(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzy(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn xzw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn zxw(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxz(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzx(&self) -> <Point<T, U5> as Swizzles3<T>>::Swizzle3
[src]
pub fn xw(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn yw(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn zw(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn wx(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn wy(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
pub fn wz(&self) -> <Point<T, U5> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles4<T> for Point<T, U6> where
T: Scalar,
[src]
impl<T> Swizzles4<T> for Point<T, U6> where
T: Scalar,
[src]type Swizzle4 = Point<T, U4>
pub fn xyzw(&self) -> <Point<T, U6> as Swizzles4<T>>::Swizzle4
[src]
pub fn xyw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn yxw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxy(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyx(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn yzw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn zyw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wyz(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzy(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn xzw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn zxw(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wxz(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn wzx(&self) -> <Point<T, U6> as Swizzles3<T>>::Swizzle3
[src]
pub fn xw(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn yw(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn zw(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn wx(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn wy(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
pub fn wz(&self) -> <Point<T, U6> as Swizzles2<T>>::Swizzle2
[src]
impl<T> Swizzles4Mut<T> for Point<T, U4> where
T: Scalar,
[src]
impl<T> Swizzles4Mut<T> for Point<T, U4> where
T: Scalar,
[src]pub fn set_xyzw(&mut self, right: &<Point<T, U4> as Swizzles4<T>>::Swizzle4)
[src]
pub fn set_xyw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yxw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxy(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyx(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yzw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zyw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyz(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzy(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xzw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zxw(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxz(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzx(&mut self, right: &<Point<T, U4> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xw(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_yw(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zw(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wx(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wy(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wz(&mut self, right: &<Point<T, U4> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles4Mut<T> for Point<T, U6> where
T: Scalar,
[src]
impl<T> Swizzles4Mut<T> for Point<T, U6> where
T: Scalar,
[src]pub fn set_xyzw(&mut self, right: &<Point<T, U6> as Swizzles4<T>>::Swizzle4)
[src]
pub fn set_xyw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yxw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxy(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyx(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yzw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zyw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyz(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzy(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xzw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zxw(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxz(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzx(&mut self, right: &<Point<T, U6> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xw(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_yw(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zw(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wx(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wy(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wz(&mut self, right: &<Point<T, U6> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> Swizzles4Mut<T> for Point<T, U5> where
T: Scalar,
[src]
impl<T> Swizzles4Mut<T> for Point<T, U5> where
T: Scalar,
[src]pub fn set_xyzw(&mut self, right: &<Point<T, U5> as Swizzles4<T>>::Swizzle4)
[src]
pub fn set_xyw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yxw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxy(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyx(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_yzw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zyw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wyz(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzy(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xzw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_zxw(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wxz(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_wzx(&mut self, right: &<Point<T, U5> as Swizzles3<T>>::Swizzle3)
[src]
pub fn set_xw(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_yw(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_zw(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wx(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wy(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
pub fn set_wz(&mut self, right: &<Point<T, U5> as Swizzles2<T>>::Swizzle2)
[src]
impl<T> ToPnt<Point<T, U1>> for Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U1>> for Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToPnt<Point<T, U2>> for Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U2>> for Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToPnt<Point<T, U3>> for Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U3>> for Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToPnt<Point<T, U4>> for Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U4>> for Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToPnt<Point<T, U5>> for Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U5>> for Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToPnt<Point<T, U6>> for Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer> where
T: Scalar,
[src]
impl<T> ToPnt<Point<T, U6>> for Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer>> for Point<T, U1> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U1, U1, <DefaultAllocator as Allocator<T, U1, U1>>::Buffer>> for Point<T, U1> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point<T, U2> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point<T, U2> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>> for Point<T, U3> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U3, U1, <DefaultAllocator as Allocator<T, U3, U1>>::Buffer>> for Point<T, U3> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer>> for Point<T, U4> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U4, U1, <DefaultAllocator as Allocator<T, U4, U1>>::Buffer>> for Point<T, U4> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer>> for Point<T, U5> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U5, U1, <DefaultAllocator as Allocator<T, U5, U1>>::Buffer>> for Point<T, U5> where
T: Scalar,
[src]impl<T> ToVec<Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer>> for Point<T, U6> where
T: Scalar,
[src]
impl<T> ToVec<Matrix<T, U6, U1, <DefaultAllocator as Allocator<T, U6, U1>>::Buffer>> for Point<T, U6> where
T: Scalar,
[src]impl<N, D> UlpsEq<Point<N, D>> for Point<N, D> where
N: Scalar + UlpsEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> UlpsEq<Point<N, D>> for Point<N, D> where
N: Scalar + UlpsEq<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]impl<N, D> Copy for Point<N, D> where
N: Scalar + Copy,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
[src]
N: Scalar + Copy,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
impl<N, D> Eq for Point<N, D> where
N: Scalar + Eq,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
[src]
N: Scalar + Eq,
D: DimName,
DefaultAllocator: Allocator<N, D, U1>,
Auto Trait Implementations
impl<N, D> !RefUnwindSafe for Point<N, D>
impl<N, D> !Send for Point<N, D>
impl<N, D> !Sync for Point<N, D>
impl<N, D> !Unpin for Point<N, D>
impl<N, D> !UnwindSafe for Point<N, D>
Blanket Implementations
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
[src]
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
[src]pub fn simd_gt(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_lt(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_ge(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_le(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_eq(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_ne(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_max(self, other: T) -> T
[src]
pub fn simd_min(self, other: T) -> T
[src]
pub fn simd_clamp(self, min: T, max: T) -> T
[src]
pub fn simd_horizontal_min(self) -> <T as SimdValue>::Element
[src]
pub fn simd_horizontal_max(self) -> <T as SimdValue>::Element
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> WriteStd140 for T where
T: Std140,
[src]
impl<T> WriteStd140 for T where
T: Std140,
[src]pub fn write_std140(&self, data: &mut Data)
[src]
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T> ClosedNeg for T where
T: Neg<Output = T>,
[src]
T: Neg<Output = T>,
impl<T> ClosedNeg for T where
T: Neg<Output = T>,
[src]
T: Neg<Output = T>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,