[−]Trait oxygengine_physics_2d::prelude::ncollide2d::simba::scalar::SubsetOf
Nested sets and conversions between them (using an injective mapping). Useful to work with
substructures. In generic code, it is preferable to use SupersetOf
as trait bound whenever
possible instead of SubsetOf
(because SupersetOf is automatically implemented whenever
SubsetOf
is).
The notion of "nested sets" is very broad and applies to what the types are supposed to represent, independently from their actual implementation details and limitations. For example:
- f32 and f64 are both supposed to represent reals and are thus considered equal (even if in practice f64 has more elements).
- u32 and i8 are respectively supposed to represent natural and relative numbers. Thus, u32 is a subset of i8.
- A quaternion and a 3x3 orthogonal matrix with unit determinant are both sets of rotations. They can thus be considered equal.
In other words, implementation details due to machine limitations are ignored (otherwise we could not even, e.g., convert a u64 to an i64). If considering those limitations are important, other crates allowing you to query the limitations of given types should be used.
Required methods
fn to_superset(&self) -> T
The inclusion map: converts self
to the equivalent element of its superset.
fn from_superset_unchecked(element: &T) -> Self
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
fn is_in_subset(element: &T) -> bool
Checks if element
is actually part of the subset Self
(and can be converted to it).
Provided methods
fn from_superset(element: &T) -> Option<Self>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset.
Must return None
if element
has no equivalent in Self
.
Implementations on Foreign Types
impl SubsetOf<i128> for u128
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> u128
fn is_in_subset(&i128) -> bool
impl SubsetOf<i8> for i64
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> i64
fn is_in_subset(&i8) -> bool
impl SubsetOf<f64> for u128
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> u128
fn is_in_subset(&f64) -> bool
impl SubsetOf<i8> for u8
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> u8
fn is_in_subset(&i8) -> bool
impl SubsetOf<i32> for u32
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> u32
fn is_in_subset(&i32) -> bool
impl SubsetOf<usize> for u64
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> u64
fn is_in_subset(&usize) -> bool
impl SubsetOf<u16> for u8
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> u8
fn is_in_subset(&u16) -> bool
impl SubsetOf<usize> for u32
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> u32
fn is_in_subset(&usize) -> bool
impl SubsetOf<i16> for u32
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> u32
fn is_in_subset(&i16) -> bool
impl SubsetOf<i64> for u16
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> u16
fn is_in_subset(&i64) -> bool
impl SubsetOf<i32> for usize
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> usize
fn is_in_subset(&i32) -> bool
impl SubsetOf<i64> for u64
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> u64
fn is_in_subset(&i64) -> bool
impl SubsetOf<i8> for i32
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> i32
fn is_in_subset(&i8) -> bool
impl SubsetOf<u16> for usize
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> usize
fn is_in_subset(&u16) -> bool
impl SubsetOf<i128> for i8
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> i8
fn is_in_subset(&i128) -> bool
impl SubsetOf<u64> for u64
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> u64
fn is_in_subset(&u64) -> bool
impl SubsetOf<u64> for u8
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> u8
fn is_in_subset(&u64) -> bool
impl SubsetOf<u8> for u128
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> u128
fn is_in_subset(&u8) -> bool
impl SubsetOf<f64> for i16
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> i16
fn is_in_subset(&f64) -> bool
impl SubsetOf<f32> for u16
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> u16
fn is_in_subset(&f32) -> bool
impl SubsetOf<isize> for u16
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> u16
fn is_in_subset(&isize) -> bool
impl SubsetOf<u8> for u64
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> u64
fn is_in_subset(&u8) -> bool
impl SubsetOf<i16> for u16
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> u16
fn is_in_subset(&i16) -> bool
impl SubsetOf<i16> for i16
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> i16
fn is_in_subset(&i16) -> bool
impl SubsetOf<isize> for usize
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> usize
fn is_in_subset(&isize) -> bool
impl SubsetOf<i16> for u8
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> u8
fn is_in_subset(&i16) -> bool
impl SubsetOf<u128> for u64
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> u64
fn is_in_subset(&u128) -> bool
impl SubsetOf<i8> for u128
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> u128
fn is_in_subset(&i8) -> bool
impl SubsetOf<f32> for f64
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> f64
fn is_in_subset(&f32) -> bool
impl SubsetOf<i16> for u64
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> u64
fn is_in_subset(&i16) -> bool
impl SubsetOf<f32> for isize
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> isize
fn is_in_subset(&f32) -> bool
impl SubsetOf<f32> for i8
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> i8
fn is_in_subset(&f32) -> bool
impl SubsetOf<i32> for i64
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> i64
fn is_in_subset(&i32) -> bool
impl SubsetOf<f32> for u32
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> u32
fn is_in_subset(&f32) -> bool
impl SubsetOf<u128> for u32
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> u32
fn is_in_subset(&u128) -> bool
impl SubsetOf<i16> for i32
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> i32
fn is_in_subset(&i16) -> bool
impl SubsetOf<u128> for usize
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> usize
fn is_in_subset(&u128) -> bool
impl SubsetOf<isize> for u128
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> u128
fn is_in_subset(&isize) -> bool
impl SubsetOf<u16> for u32
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> u32
fn is_in_subset(&u16) -> bool
impl SubsetOf<f64> for i32
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> i32
fn is_in_subset(&f64) -> bool
impl SubsetOf<isize> for u64
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> u64
fn is_in_subset(&isize) -> bool
impl SubsetOf<i16> for isize
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> isize
fn is_in_subset(&i16) -> bool
impl SubsetOf<i64> for isize
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> isize
fn is_in_subset(&i64) -> bool
impl<N2> SubsetOf<Complex<N2>> for u64 where
N2: SupersetOf<u64> + Zero,
N2: SupersetOf<u64> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> u64
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i64> for i16
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> i16
fn is_in_subset(&i64) -> bool
impl SubsetOf<i128> for usize
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> usize
fn is_in_subset(&i128) -> bool
impl SubsetOf<i32> for i8
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> i8
fn is_in_subset(&i32) -> bool
impl SubsetOf<f64> for u64
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> u64
fn is_in_subset(&f64) -> bool
impl SubsetOf<i128> for i16
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> i16
fn is_in_subset(&i128) -> bool
impl SubsetOf<i128> for u64
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> u64
fn is_in_subset(&i128) -> bool
impl<N2> SubsetOf<Complex<N2>> for i128 where
N2: SupersetOf<i128> + Zero,
N2: SupersetOf<i128> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> i128
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<u16> for u16
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> u16
fn is_in_subset(&u16) -> bool
impl<N2> SubsetOf<Complex<N2>> for i16 where
N2: SupersetOf<i16> + Zero,
N2: SupersetOf<i16> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> i16
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i32> for isize
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> isize
fn is_in_subset(&i32) -> bool
impl SubsetOf<u8> for u16
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> u16
fn is_in_subset(&u8) -> bool
impl SubsetOf<u16> for u128
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> u128
fn is_in_subset(&u16) -> bool
impl SubsetOf<u32> for u8
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> u8
fn is_in_subset(&u32) -> bool
impl SubsetOf<f64> for f64
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> f64
fn is_in_subset(&f64) -> bool
impl SubsetOf<i64> for usize
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> usize
fn is_in_subset(&i64) -> bool
impl SubsetOf<i128> for u8
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> u8
fn is_in_subset(&i128) -> bool
impl SubsetOf<usize> for u8
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> u8
fn is_in_subset(&usize) -> bool
impl SubsetOf<isize> for i32
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> i32
fn is_in_subset(&isize) -> bool
impl<N2> SubsetOf<Complex<N2>> for u8 where
N2: SupersetOf<u8> + Zero,
N2: SupersetOf<u8> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> u8
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i64> for i64
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> i64
fn is_in_subset(&i64) -> bool
impl SubsetOf<f64> for u16
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> u16
fn is_in_subset(&f64) -> bool
impl SubsetOf<i16> for i128
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> i128
fn is_in_subset(&i16) -> bool
impl SubsetOf<u128> for u16
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> u16
fn is_in_subset(&u128) -> bool
impl SubsetOf<i64> for u128
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> u128
fn is_in_subset(&i64) -> bool
impl SubsetOf<f64> for isize
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> isize
fn is_in_subset(&f64) -> bool
impl SubsetOf<i32> for u128
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> u128
fn is_in_subset(&i32) -> bool
impl SubsetOf<i64> for u32
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> u32
fn is_in_subset(&i64) -> bool
impl SubsetOf<i8> for u64
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> u64
fn is_in_subset(&i8) -> bool
impl<N2> SubsetOf<Complex<N2>> for u16 where
N2: SupersetOf<u16> + Zero,
N2: SupersetOf<u16> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> u16
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<f64> for u32
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> u32
fn is_in_subset(&f64) -> bool
impl SubsetOf<i8> for u16
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> u16
fn is_in_subset(&i8) -> bool
impl SubsetOf<f32> for u128
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> u128
fn is_in_subset(&f32) -> bool
impl SubsetOf<i64> for i32
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> i32
fn is_in_subset(&i64) -> bool
impl SubsetOf<i64> for i8
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> i8
fn is_in_subset(&i64) -> bool
impl SubsetOf<u8> for u8
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> u8
fn is_in_subset(&u8) -> bool
impl SubsetOf<i32> for i16
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> i16
fn is_in_subset(&i32) -> bool
impl<N2> SubsetOf<Complex<N2>> for i32 where
N2: SupersetOf<i32> + Zero,
N2: SupersetOf<i32> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> i32
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<u64> for usize
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> usize
fn is_in_subset(&u64) -> bool
impl SubsetOf<f32> for usize
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> usize
fn is_in_subset(&f32) -> bool
impl SubsetOf<isize> for i8
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> i8
fn is_in_subset(&isize) -> bool
impl SubsetOf<f64> for f32
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> f32
fn is_in_subset(&f64) -> bool
impl SubsetOf<i32> for u16
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> u16
fn is_in_subset(&i32) -> bool
impl SubsetOf<u128> for u8
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> u8
fn is_in_subset(&u128) -> bool
impl SubsetOf<isize> for isize
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> isize
fn is_in_subset(&isize) -> bool
impl SubsetOf<isize> for i128
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> i128
fn is_in_subset(&isize) -> bool
impl SubsetOf<f32> for i16
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> i16
fn is_in_subset(&f32) -> bool
impl SubsetOf<f32> for u8
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> u8
fn is_in_subset(&f32) -> bool
impl SubsetOf<f64> for i64
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> i64
fn is_in_subset(&f64) -> bool
impl SubsetOf<u64> for u128
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> u128
fn is_in_subset(&u64) -> bool
impl SubsetOf<isize> for i16
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> i16
fn is_in_subset(&isize) -> bool
impl SubsetOf<i16> for usize
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> usize
fn is_in_subset(&i16) -> bool
impl SubsetOf<i128> for u16
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> u16
fn is_in_subset(&i128) -> bool
impl<N2> SubsetOf<Complex<N2>> for i8 where
N2: SupersetOf<i8> + Zero,
N2: SupersetOf<i8> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> i8
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<u128> for u128
fn to_superset(&self) -> u128
fn from_superset_unchecked(element: &u128) -> u128
fn is_in_subset(&u128) -> bool
impl SubsetOf<i8> for i16
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> i16
fn is_in_subset(&i8) -> bool
impl SubsetOf<f32> for u64
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> u64
fn is_in_subset(&f32) -> bool
impl<N2> SubsetOf<Complex<N2>> for isize where
N2: SupersetOf<isize> + Zero,
N2: SupersetOf<isize> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> isize
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i16> for i8
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> i8
fn is_in_subset(&i16) -> bool
impl SubsetOf<i8> for i8
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> i8
fn is_in_subset(&i8) -> bool
impl SubsetOf<f32> for i128
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> i128
fn is_in_subset(&f32) -> bool
impl SubsetOf<isize> for u32
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> u32
fn is_in_subset(&isize) -> bool
impl SubsetOf<u8> for usize
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> usize
fn is_in_subset(&u8) -> bool
impl SubsetOf<i64> for u8
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> u8
fn is_in_subset(&i64) -> bool
impl SubsetOf<f64> for i8
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> i8
fn is_in_subset(&f64) -> bool
impl SubsetOf<i16> for i64
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> i64
fn is_in_subset(&i16) -> bool
impl SubsetOf<f32> for i32
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> i32
fn is_in_subset(&f32) -> bool
impl SubsetOf<i8> for u32
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> u32
fn is_in_subset(&i8) -> bool
impl SubsetOf<i32> for u8
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> u8
fn is_in_subset(&i32) -> bool
impl SubsetOf<u64> for u16
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> u16
fn is_in_subset(&u64) -> bool
impl SubsetOf<u64> for u32
fn to_superset(&self) -> u64
fn from_superset_unchecked(element: &u64) -> u32
fn is_in_subset(&u64) -> bool
impl SubsetOf<u32> for u32
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> u32
fn is_in_subset(&u32) -> bool
impl SubsetOf<f32> for i64
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> i64
fn is_in_subset(&f32) -> bool
impl SubsetOf<usize> for usize
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> usize
fn is_in_subset(&usize) -> bool
impl SubsetOf<u32> for u128
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> u128
fn is_in_subset(&u32) -> bool
impl SubsetOf<f32> for f32
fn to_superset(&self) -> f32
fn from_superset_unchecked(element: &f32) -> f32
fn is_in_subset(&f32) -> bool
impl SubsetOf<i32> for u64
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> u64
fn is_in_subset(&i32) -> bool
impl SubsetOf<i8> for i128
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> i128
fn is_in_subset(&i8) -> bool
impl SubsetOf<usize> for u16
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> u16
fn is_in_subset(&usize) -> bool
impl SubsetOf<usize> for u128
fn to_superset(&self) -> usize
fn from_superset_unchecked(element: &usize) -> u128
fn is_in_subset(&usize) -> bool
impl<N2> SubsetOf<Complex<N2>> for i64 where
N2: SupersetOf<i64> + Zero,
N2: SupersetOf<i64> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> i64
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<isize> for i64
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> i64
fn is_in_subset(&isize) -> bool
impl SubsetOf<i8> for usize
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> usize
fn is_in_subset(&i8) -> bool
impl SubsetOf<i64> for i128
fn to_superset(&self) -> i64
fn from_superset_unchecked(element: &i64) -> i128
fn is_in_subset(&i64) -> bool
impl SubsetOf<i128> for u32
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> u32
fn is_in_subset(&i128) -> bool
impl SubsetOf<i128> for i32
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> i32
fn is_in_subset(&i128) -> bool
impl SubsetOf<f64> for usize
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> usize
fn is_in_subset(&f64) -> bool
impl<N2> SubsetOf<Complex<N2>> for usize where
N2: SupersetOf<usize> + Zero,
N2: SupersetOf<usize> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> usize
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<u8> for u32
fn to_superset(&self) -> u8
fn from_superset_unchecked(element: &u8) -> u32
fn is_in_subset(&u8) -> bool
impl<N2> SubsetOf<Complex<N2>> for f32 where
N2: SupersetOf<f32> + Zero,
N2: SupersetOf<f32> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> f32
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<f64> for u8
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> u8
fn is_in_subset(&f64) -> bool
impl SubsetOf<u32> for u16
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> u16
fn is_in_subset(&u32) -> bool
impl SubsetOf<i128> for i64
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> i64
fn is_in_subset(&i128) -> bool
impl SubsetOf<i128> for isize
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> isize
fn is_in_subset(&i128) -> bool
impl SubsetOf<isize> for u8
fn to_superset(&self) -> isize
fn from_superset_unchecked(element: &isize) -> u8
fn is_in_subset(&isize) -> bool
impl SubsetOf<i32> for i32
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> i32
fn is_in_subset(&i32) -> bool
impl SubsetOf<u32> for u64
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> u64
fn is_in_subset(&u32) -> bool
impl<N2> SubsetOf<Complex<N2>> for u32 where
N2: SupersetOf<u32> + Zero,
N2: SupersetOf<u32> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> u32
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i16> for u128
fn to_superset(&self) -> i16
fn from_superset_unchecked(element: &i16) -> u128
fn is_in_subset(&i16) -> bool
impl SubsetOf<i8> for isize
fn to_superset(&self) -> i8
fn from_superset_unchecked(element: &i8) -> isize
fn is_in_subset(&i8) -> bool
impl SubsetOf<u16> for u64
fn to_superset(&self) -> u16
fn from_superset_unchecked(element: &u16) -> u64
fn is_in_subset(&u16) -> bool
impl<N2> SubsetOf<Complex<N2>> for f64 where
N2: SupersetOf<f64> + Zero,
N2: SupersetOf<f64> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> f64
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i128> for i128
fn to_superset(&self) -> i128
fn from_superset_unchecked(element: &i128) -> i128
fn is_in_subset(&i128) -> bool
impl<N2> SubsetOf<Complex<N2>> for u128 where
N2: SupersetOf<u128> + Zero,
N2: SupersetOf<u128> + Zero,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> u128
fn is_in_subset(c: &Complex<N2>) -> bool
impl SubsetOf<i32> for i128
fn to_superset(&self) -> i32
fn from_superset_unchecked(element: &i32) -> i128
fn is_in_subset(&i32) -> bool
impl SubsetOf<u32> for usize
fn to_superset(&self) -> u32
fn from_superset_unchecked(element: &u32) -> usize
fn is_in_subset(&u32) -> bool
impl SubsetOf<f64> for i128
fn to_superset(&self) -> f64
fn from_superset_unchecked(element: &f64) -> i128
fn is_in_subset(&f64) -> bool
Implementors
impl<N1, N2> SubsetOf<Complex<N2>> for Complex<N1> where
N2: SupersetOf<N1>,
N2: SupersetOf<N1>,
fn to_superset(&self) -> Complex<N2>
fn from_superset_unchecked(element: &Complex<N2>) -> Complex<N1>
fn is_in_subset(c: &Complex<N2>) -> bool
impl<N1, N2> SubsetOf<Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>> for Unit<Complex<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(
&self
) -> Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
[src]
&self
) -> Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
) -> Unit<Complex<N1>>
[src]
m: &Matrix<N2, U3, U3, <DefaultAllocator as Allocator<N2, U3, U3>>::Buffer>
) -> Unit<Complex<N1>>
impl<N1, N2> SubsetOf<Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>> for Unit<Quaternion<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(
&self
) -> Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
[src]
&self
) -> Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
) -> Unit<Quaternion<N1>>
[src]
m: &Matrix<N2, U4, U4, <DefaultAllocator as Allocator<N2, U4, U4>>::Buffer>
) -> Unit<Quaternion<N1>>
impl<N1, N2> SubsetOf<Quaternion<N2>> for Quaternion<N1> where
N1: SimdRealField,
N2: SimdRealField + SupersetOf<N1>,
[src]
N1: SimdRealField,
N2: SimdRealField + SupersetOf<N1>,
fn to_superset(&self) -> Quaternion<N2>
[src]
fn is_in_subset(q: &Quaternion<N2>) -> bool
[src]
fn from_superset_unchecked(q: &Quaternion<N2>) -> Quaternion<N1>
[src]
impl<N1, N2> SubsetOf<Rotation<N2, U2>> for Unit<Complex<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Rotation<N2, U2>
[src]
fn is_in_subset(rot: &Rotation<N2, U2>) -> bool
[src]
fn from_superset_unchecked(rot: &Rotation<N2, U2>) -> Unit<Complex<N1>>
[src]
impl<N1, N2> SubsetOf<Rotation<N2, U3>> for Unit<Quaternion<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Rotation<N2, U3>
[src]
fn is_in_subset(rot: &Rotation<N2, U3>) -> bool
[src]
fn from_superset_unchecked(rot: &Rotation<N2, U3>) -> Unit<Quaternion<N1>>
[src]
impl<N1, N2> SubsetOf<Unit<Complex<N2>>> for Rotation<N1, U2> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Unit<Complex<N2>>
[src]
fn is_in_subset(q: &Unit<Complex<N2>>) -> bool
[src]
fn from_superset_unchecked(q: &Unit<Complex<N2>>) -> Rotation<N1, U2>
[src]
impl<N1, N2> SubsetOf<Unit<Complex<N2>>> for Unit<Complex<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Unit<Complex<N2>>
[src]
fn is_in_subset(uq: &Unit<Complex<N2>>) -> bool
[src]
fn from_superset_unchecked(uq: &Unit<Complex<N2>>) -> Unit<Complex<N1>>
[src]
impl<N1, N2> SubsetOf<Unit<Quaternion<N2>>> for Rotation<N1, U3> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Unit<Quaternion<N2>>
[src]
fn is_in_subset(q: &Unit<Quaternion<N2>>) -> bool
[src]
fn from_superset_unchecked(q: &Unit<Quaternion<N2>>) -> Rotation<N1, U3>
[src]
impl<N1, N2> SubsetOf<Unit<Quaternion<N2>>> for Unit<Quaternion<N1>> where
N1: SimdRealField,
N2: SimdRealField + SupersetOf<N1>,
[src]
N1: SimdRealField,
N2: SimdRealField + SupersetOf<N1>,
fn to_superset(&self) -> Unit<Quaternion<N2>>
[src]
fn is_in_subset(uq: &Unit<Quaternion<N2>>) -> bool
[src]
fn from_superset_unchecked(uq: &Unit<Quaternion<N2>>) -> Unit<Quaternion<N1>>
[src]
impl<N1, N2, C> SubsetOf<Transform<N2, U2, C>> for Unit<Complex<N1>> where
C: SuperTCategoryOf<TAffine>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
C: SuperTCategoryOf<TAffine>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Transform<N2, U2, C>
[src]
fn is_in_subset(t: &Transform<N2, U2, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, U2, C>) -> Unit<Complex<N1>>
[src]
impl<N1, N2, C> SubsetOf<Transform<N2, U3, C>> for Unit<Quaternion<N1>> where
C: SuperTCategoryOf<TAffine>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
[src]
C: SuperTCategoryOf<TAffine>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
fn to_superset(&self) -> Transform<N2, U3, C>
[src]
fn is_in_subset(t: &Transform<N2, U3, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, U3, C>) -> Unit<Quaternion<N1>>
[src]
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Rotation<N1, D> where
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
[src]
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Rotation<N1, D>
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Rotation<N1, D>
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Translation<N1, D> where
D: DimNameAdd<U1>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
D: DimNameAdd<U1>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Translation<N1, D>
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Translation<N1, D>
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]
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>,
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>
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
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>
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]
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, D, U1>,
fn to_superset(&self) -> Point<N2, D>
[src]
fn is_in_subset(m: &Point<N2, D>) -> bool
[src]
fn from_superset_unchecked(m: &Point<N2, D>) -> Point<N1, D>
[src]
impl<N1, N2, D> SubsetOf<Rotation<N2, D>> for Rotation<N1, D> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
fn to_superset(&self) -> Rotation<N2, D>
[src]
fn is_in_subset(rot: &Rotation<N2, D>) -> bool
[src]
fn from_superset_unchecked(rot: &Rotation<N2, D>) -> Rotation<N1, D>
[src]
impl<N1, N2, D> SubsetOf<Translation<N2, D>> for Translation<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Translation<N2, D>
[src]
fn is_in_subset(rot: &Translation<N2, D>) -> bool
[src]
fn from_superset_unchecked(rot: &Translation<N2, D>) -> Translation<N1, D>
[src]
impl<N1, N2, D, C> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Transform<N1, D, C> where
C: TCategory,
D: DimName + DimNameAdd<U1>,
N1: RealField + SubsetOf<N2>,
N2: RealField,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
<N1 as AbsDiffEq<N1>>::Epsilon: Copy,
<N2 as AbsDiffEq<N2>>::Epsilon: Copy,
[src]
C: TCategory,
D: DimName + DimNameAdd<U1>,
N1: RealField + SubsetOf<N2>,
N2: RealField,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
<N1 as AbsDiffEq<N1>>::Epsilon: Copy,
<N2 as AbsDiffEq<N2>>::Epsilon: Copy,
fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Transform<N1, D, C>
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Transform<N1, D, C>
impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Rotation<N1, D> where
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
[src]
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
fn to_superset(&self) -> Transform<N2, D, C>
[src]
fn is_in_subset(t: &Transform<N2, D, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, D, C>) -> Rotation<N1, D>
[src]
impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Translation<N1, D> where
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
fn to_superset(&self) -> Transform<N2, D, C>
[src]
fn is_in_subset(t: &Transform<N2, D, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, D, C>) -> Translation<N1, D>
[src]
impl<N1, N2, D, C1, C2> SubsetOf<Transform<N2, D, C2>> for Transform<N1, D, C1> where
C1: TCategory,
C2: SuperTCategoryOf<C1>,
D: DimName + DimNameAdd<U1>,
N1: RealField + SubsetOf<N2>,
N2: RealField,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
<N1 as AbsDiffEq<N1>>::Epsilon: Copy,
<N2 as AbsDiffEq<N2>>::Epsilon: Copy,
[src]
C1: TCategory,
C2: SuperTCategoryOf<C1>,
D: DimName + DimNameAdd<U1>,
N1: RealField + SubsetOf<N2>,
N2: RealField,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
<N1 as AbsDiffEq<N1>>::Epsilon: Copy,
<N2 as AbsDiffEq<N2>>::Epsilon: Copy,
fn to_superset(&self) -> Transform<N2, D, C2>
[src]
fn is_in_subset(t: &Transform<N2, D, C2>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, D, C2>) -> Transform<N1, D, C1>
[src]
impl<N1, N2, D, R> SubsetOf<Isometry<N2, D, R>> for Rotation<N1, D> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D> + SupersetOf<Rotation<N1, D>>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D> + SupersetOf<Rotation<N1, D>>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Isometry<N2, D, R>
[src]
fn is_in_subset(iso: &Isometry<N2, D, R>) -> bool
[src]
fn from_superset_unchecked(iso: &Isometry<N2, D, R>) -> Rotation<N1, D>
[src]
impl<N1, N2, D, R> SubsetOf<Isometry<N2, D, R>> for Translation<N1, D> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Isometry<N2, D, R>
[src]
fn is_in_subset(iso: &Isometry<N2, D, R>) -> bool
[src]
fn from_superset_unchecked(iso: &Isometry<N2, D, R>) -> Translation<N1, D>
[src]
impl<N1, N2, D, R> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Isometry<N1, D, R> where
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Isometry<N1, D, R>
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Isometry<N1, D, R>
impl<N1, N2, D, R> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Similarity<N1, D, R> where
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Similarity<N1, D, R>
[src]
m: &Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>
) -> Similarity<N1, D, R>
impl<N1, N2, D, R> SubsetOf<Similarity<N2, D, R>> for Rotation<N1, D> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D> + SupersetOf<Rotation<N1, D>>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D> + SupersetOf<Rotation<N1, D>>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Similarity<N2, D, R>
[src]
fn is_in_subset(sim: &Similarity<N2, D, R>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, D, R>) -> Rotation<N1, D>
[src]
impl<N1, N2, D, R> SubsetOf<Similarity<N2, D, R>> for Translation<N1, D> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Similarity<N2, D, R>
[src]
fn is_in_subset(sim: &Similarity<N2, D, R>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, D, R>) -> Translation<N1, D>
[src]
impl<N1, N2, D, R, C> SubsetOf<Transform<N2, D, C>> for Isometry<N1, D, R> where
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Transform<N2, D, C>
[src]
fn is_in_subset(t: &Transform<N2, D, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, D, C>) -> Isometry<N1, D, R>
[src]
impl<N1, N2, D, R, C> SubsetOf<Transform<N2, D, C>> for Similarity<N1, D, R> where
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1> + DimMin<D, Output = D>,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N1, D> + SubsetOf<Matrix<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> + SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, D, D>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<(usize, usize), D, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, D, D>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Transform<N2, D, C>
[src]
fn is_in_subset(t: &Transform<N2, D, C>) -> bool
[src]
fn from_superset_unchecked(t: &Transform<N2, D, C>) -> Similarity<N1, D, R>
[src]
impl<N1, N2, D, R1, R2> SubsetOf<Isometry<N2, D, R2>> for Isometry<N1, D, R1> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Isometry<N2, D, R2>
[src]
fn is_in_subset(iso: &Isometry<N2, D, R2>) -> bool
[src]
fn from_superset_unchecked(iso: &Isometry<N2, D, R2>) -> Isometry<N1, D, R1>
[src]
impl<N1, N2, D, R1, R2> SubsetOf<Similarity<N2, D, R2>> for Isometry<N1, D, R1> where
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Similarity<N2, D, R2>
[src]
fn is_in_subset(sim: &Similarity<N2, D, R2>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, D, R2>) -> Isometry<N1, D, R1>
[src]
impl<N1, N2, D, R1, R2> SubsetOf<Similarity<N2, D, R2>> for Similarity<N1, D, R1> where
D: DimName,
N1: RealField + SubsetOf<N2>,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: RealField + SubsetOf<N2>,
N2: RealField + SupersetOf<N1>,
R1: AbstractRotation<N1, D> + SubsetOf<R2>,
R2: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Similarity<N2, D, R2>
[src]
fn is_in_subset(sim: &Similarity<N2, D, R2>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, D, R2>) -> Similarity<N1, D, R1>
[src]
impl<N1, N2, R> SubsetOf<Isometry<N2, U2, R>> for Unit<Complex<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U2> + SupersetOf<Unit<Complex<N1>>>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U2> + SupersetOf<Unit<Complex<N1>>>,
fn to_superset(&self) -> Isometry<N2, U2, R>
[src]
fn is_in_subset(iso: &Isometry<N2, U2, R>) -> bool
[src]
fn from_superset_unchecked(iso: &Isometry<N2, U2, R>) -> Unit<Complex<N1>>
[src]
impl<N1, N2, R> SubsetOf<Isometry<N2, U3, R>> for Unit<Quaternion<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U3> + SupersetOf<Unit<Quaternion<N1>>>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U3> + SupersetOf<Unit<Quaternion<N1>>>,
fn to_superset(&self) -> Isometry<N2, U3, R>
[src]
fn is_in_subset(iso: &Isometry<N2, U3, R>) -> bool
[src]
fn from_superset_unchecked(iso: &Isometry<N2, U3, R>) -> Unit<Quaternion<N1>>
[src]
impl<N1, N2, R> SubsetOf<Similarity<N2, U2, R>> for Unit<Complex<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U2> + SupersetOf<Unit<Complex<N1>>>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U2> + SupersetOf<Unit<Complex<N1>>>,
fn to_superset(&self) -> Similarity<N2, U2, R>
[src]
fn is_in_subset(sim: &Similarity<N2, U2, R>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, U2, R>) -> Unit<Complex<N1>>
[src]
impl<N1, N2, R> SubsetOf<Similarity<N2, U3, R>> for Unit<Quaternion<N1>> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U3> + SupersetOf<Unit<Quaternion<N1>>>,
[src]
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, U3> + SupersetOf<Unit<Quaternion<N1>>>,
fn to_superset(&self) -> Similarity<N2, U3, R>
[src]
fn is_in_subset(sim: &Similarity<N2, U3, R>) -> bool
[src]
fn from_superset_unchecked(sim: &Similarity<N2, U3, R>) -> Unit<Quaternion<N1>>
[src]
impl<N1, N2, R1, C1, R2, C2> SubsetOf<Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>> for Matrix<N1, R1, C1, <DefaultAllocator as Allocator<N1, R1, C1>>::Buffer> where
C1: Dim,
C2: Dim,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N2, R2, C2>,
DefaultAllocator: Allocator<N1, R1, C1>,
DefaultAllocator: SameShapeAllocator<N1, R1, C1, R2, C2>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,
[src]
C1: Dim,
C2: Dim,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<N2, R2, C2>,
DefaultAllocator: Allocator<N1, R1, C1>,
DefaultAllocator: SameShapeAllocator<N1, R1, C1, R2, C2>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,
fn to_superset(
&self
) -> Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
[src]
&self
) -> Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
fn is_in_subset(
m: &Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
) -> bool
[src]
m: &Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
) -> bool
fn from_superset_unchecked(
m: &Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
) -> Matrix<N1, R1, C1, <DefaultAllocator as Allocator<N1, R1, C1>>::Buffer>
[src]
m: &Matrix<N2, R2, C2, <DefaultAllocator as Allocator<N2, R2, C2>>::Buffer>
) -> Matrix<N1, R1, C1, <DefaultAllocator as Allocator<N1, R1, C1>>::Buffer>