[−]Trait oxygengine_physics_2d::prelude::ncollide2d::simba::simd::SimdValue
Base trait for every SIMD types.
Associated Types
type Element: SimdValue
The type of the elements of each lane of this SIMD value.
type SimdBool: SimdBool
Type of the result of comparing two SIMD values like self
.
Required methods
fn lanes() -> usize
The number of lanes of this SIMD value.
fn splat(val: Self::Element) -> Self
Initializes an SIMD value with each lanes set to val
.
fn extract(&self, i: usize) -> Self::Element
Extracts the i-th lane of self
.
Panics if i >= Self::lanes()
.
unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
Extracts the i-th lane of self
without bound-checking.
fn replace(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of self
by val
.
Panics if i >= Self::lanes()
.
unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of self
by val
without bound-checking.
fn select(self, cond: Self::SimdBool, other: Self) -> Self
Merges self
and other
depending on the lanes of cond
.
For each lane of cond
with bits set to 1, the result's will contain the value of the lane of self
.
For each lane of cond
with bits set to 0, the result's will contain the value of the lane of other
.
Provided methods
fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self where
Self: Clone,
Self: Clone,
Applies a function to each lane of self
.
Note that, while convenient, this method can be extremely slow as this
requires to extract each lane of self
and then combine them again into
a new SIMD value.
fn zip_map_lanes(
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
Applies a function to each lane of self
paired with the corresponding lane of b
.
Note that, while convenient, this method can be extremely slow as this
requires to extract each lane of self
and then combine them again into
a new SIMD value.
Implementations on Foreign Types
impl SimdValue for u16
type Element = u16
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <u16 as SimdValue>::Element) -> u16
fn extract(&self, usize) -> <u16 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <u16 as SimdValue>::Element
fn replace(&mut self, usize, val: <u16 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <u16 as SimdValue>::Element)
fn select(self, cond: <u16 as SimdValue>::SimdBool, other: u16) -> u16
impl SimdValue for u32
type Element = u32
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <u32 as SimdValue>::Element) -> u32
fn extract(&self, usize) -> <u32 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <u32 as SimdValue>::Element
fn replace(&mut self, usize, val: <u32 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <u32 as SimdValue>::Element)
fn select(self, cond: <u32 as SimdValue>::SimdBool, other: u32) -> u32
impl SimdValue for u128
type Element = u128
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <u128 as SimdValue>::Element) -> u128
fn extract(&self, usize) -> <u128 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <u128 as SimdValue>::Element
fn replace(&mut self, usize, val: <u128 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <u128 as SimdValue>::Element)
fn select(self, cond: <u128 as SimdValue>::SimdBool, other: u128) -> u128
impl SimdValue for i16
type Element = i16
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <i16 as SimdValue>::Element) -> i16
fn extract(&self, usize) -> <i16 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <i16 as SimdValue>::Element
fn replace(&mut self, usize, val: <i16 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <i16 as SimdValue>::Element)
fn select(self, cond: <i16 as SimdValue>::SimdBool, other: i16) -> i16
impl SimdValue for u8
type Element = u8
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <u8 as SimdValue>::Element) -> u8
fn extract(&self, usize) -> <u8 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <u8 as SimdValue>::Element
fn replace(&mut self, usize, val: <u8 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <u8 as SimdValue>::Element)
fn select(self, cond: <u8 as SimdValue>::SimdBool, other: u8) -> u8
impl SimdValue for isize
type Element = isize
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <isize as SimdValue>::Element) -> isize
fn extract(&self, usize) -> <isize as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <isize as SimdValue>::Element
fn replace(&mut self, usize, val: <isize as SimdValue>::Element)
unsafe fn replace_unchecked(
&mut self,
usize,
val: <isize as SimdValue>::Element
)
&mut self,
usize,
val: <isize as SimdValue>::Element
)
fn select(self, cond: <isize as SimdValue>::SimdBool, other: isize) -> isize
impl SimdValue for i64
type Element = i64
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <i64 as SimdValue>::Element) -> i64
fn extract(&self, usize) -> <i64 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <i64 as SimdValue>::Element
fn replace(&mut self, usize, val: <i64 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <i64 as SimdValue>::Element)
fn select(self, cond: <i64 as SimdValue>::SimdBool, other: i64) -> i64
impl SimdValue for i32
type Element = i32
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <i32 as SimdValue>::Element) -> i32
fn extract(&self, usize) -> <i32 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <i32 as SimdValue>::Element
fn replace(&mut self, usize, val: <i32 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <i32 as SimdValue>::Element)
fn select(self, cond: <i32 as SimdValue>::SimdBool, other: i32) -> i32
impl SimdValue for i128
type Element = i128
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <i128 as SimdValue>::Element) -> i128
fn extract(&self, usize) -> <i128 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <i128 as SimdValue>::Element
fn replace(&mut self, usize, val: <i128 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <i128 as SimdValue>::Element)
fn select(self, cond: <i128 as SimdValue>::SimdBool, other: i128) -> i128
impl SimdValue for f32
type Element = f32
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <f32 as SimdValue>::Element) -> f32
fn extract(&self, usize) -> <f32 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <f32 as SimdValue>::Element
fn replace(&mut self, usize, val: <f32 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <f32 as SimdValue>::Element)
fn select(self, cond: <f32 as SimdValue>::SimdBool, other: f32) -> f32
impl SimdValue for i8
type Element = i8
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <i8 as SimdValue>::Element) -> i8
fn extract(&self, usize) -> <i8 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <i8 as SimdValue>::Element
fn replace(&mut self, usize, val: <i8 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <i8 as SimdValue>::Element)
fn select(self, cond: <i8 as SimdValue>::SimdBool, other: i8) -> i8
impl SimdValue for u64
type Element = u64
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <u64 as SimdValue>::Element) -> u64
fn extract(&self, usize) -> <u64 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <u64 as SimdValue>::Element
fn replace(&mut self, usize, val: <u64 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <u64 as SimdValue>::Element)
fn select(self, cond: <u64 as SimdValue>::SimdBool, other: u64) -> u64
impl SimdValue for usize
type Element = usize
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <usize as SimdValue>::Element) -> usize
fn extract(&self, usize) -> <usize as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <usize as SimdValue>::Element
fn replace(&mut self, usize, val: <usize as SimdValue>::Element)
unsafe fn replace_unchecked(
&mut self,
usize,
val: <usize as SimdValue>::Element
)
&mut self,
usize,
val: <usize as SimdValue>::Element
)
fn select(self, cond: <usize as SimdValue>::SimdBool, other: usize) -> usize
impl SimdValue for f64
type Element = f64
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <f64 as SimdValue>::Element) -> f64
fn extract(&self, usize) -> <f64 as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <f64 as SimdValue>::Element
fn replace(&mut self, usize, val: <f64 as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <f64 as SimdValue>::Element)
fn select(self, cond: <f64 as SimdValue>::SimdBool, other: f64) -> f64
impl SimdValue for bool
type Element = bool
type SimdBool = bool
fn lanes() -> usize
fn splat(val: <bool as SimdValue>::Element) -> bool
fn extract(&self, usize) -> <bool as SimdValue>::Element
unsafe fn extract_unchecked(&self, usize) -> <bool as SimdValue>::Element
fn replace(&mut self, usize, val: <bool as SimdValue>::Element)
unsafe fn replace_unchecked(&mut self, usize, val: <bool as SimdValue>::Element)
fn select(self, cond: <bool as SimdValue>::SimdBool, other: bool) -> bool
Implementors
impl<N> SimdValue for Complex<N> where
N: SimdValue,
N: SimdValue,
type Element = Complex<<N as SimdValue>::Element>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
fn splat(val: <Complex<N> as SimdValue>::Element) -> Complex<N>
fn extract(&self, i: usize) -> <Complex<N> as SimdValue>::Element
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Complex<N> as SimdValue>::Element
&self,
i: usize
) -> <Complex<N> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Complex<N> as SimdValue>::Element)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Complex<N> as SimdValue>::Element
)
&mut self,
i: usize,
val: <Complex<N> as SimdValue>::Element
)
fn select(
self,
cond: <Complex<N> as SimdValue>::SimdBool,
other: Complex<N>
) -> Complex<N>
self,
cond: <Complex<N> as SimdValue>::SimdBool,
other: Complex<N>
) -> Complex<N>
impl<N> SimdValue for Quaternion<N> where
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
[src]
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
type Element = Quaternion<<N as SimdValue>::Element>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Quaternion<N> as SimdValue>::Element) -> Quaternion<N>
[src]
fn extract(&self, i: usize) -> <Quaternion<N> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Quaternion<N> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Quaternion<N> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Quaternion<N> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Quaternion<N> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Quaternion<N> as SimdValue>::Element
)
fn select(
self,
cond: <Quaternion<N> as SimdValue>::SimdBool,
other: Quaternion<N>
) -> Quaternion<N>
[src]
self,
cond: <Quaternion<N> as SimdValue>::SimdBool,
other: Quaternion<N>
) -> Quaternion<N>
impl<N> SimdValue for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
[src]
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
type Element = Unit<Complex<<N as SimdValue>::Element>>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Unit<Complex<N>> as SimdValue>::Element) -> Unit<Complex<N>>
[src]
fn extract(&self, i: usize) -> <Unit<Complex<N>> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Unit<Complex<N>> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Unit<Complex<N>> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Unit<Complex<N>> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Unit<Complex<N>> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Unit<Complex<N>> as SimdValue>::Element
)
fn select(
self,
cond: <Unit<Complex<N>> as SimdValue>::SimdBool,
other: Unit<Complex<N>>
) -> Unit<Complex<N>>
[src]
self,
cond: <Unit<Complex<N>> as SimdValue>::SimdBool,
other: Unit<Complex<N>>
) -> Unit<Complex<N>>
impl<N> SimdValue for Unit<Quaternion<N>> where
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
[src]
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
type Element = Unit<Quaternion<<N as SimdValue>::Element>>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(
val: <Unit<Quaternion<N>> as SimdValue>::Element
) -> Unit<Quaternion<N>>
[src]
val: <Unit<Quaternion<N>> as SimdValue>::Element
) -> Unit<Quaternion<N>>
fn extract(&self, i: usize) -> <Unit<Quaternion<N>> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Unit<Quaternion<N>> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Unit<Quaternion<N>> as SimdValue>::Element
fn replace(
&mut self,
i: usize,
val: <Unit<Quaternion<N>> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Unit<Quaternion<N>> as SimdValue>::Element
)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Unit<Quaternion<N>> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Unit<Quaternion<N>> as SimdValue>::Element
)
fn select(
self,
cond: <Unit<Quaternion<N>> as SimdValue>::SimdBool,
other: Unit<Quaternion<N>>
) -> Unit<Quaternion<N>>
[src]
self,
cond: <Unit<Quaternion<N>> as SimdValue>::SimdBool,
other: Unit<Quaternion<N>>
) -> Unit<Quaternion<N>>
impl<N, D> SimdValue for Point<N, D> where
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
type Element = Point<<N as SimdValue>::Element, D>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Point<N, D> as SimdValue>::Element) -> Point<N, D>
[src]
fn extract(&self, i: usize) -> <Point<N, D> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Point<N, D> as SimdValue>::Element)
[src]
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
)
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>
impl<N, D> SimdValue for Rotation<N, D> where
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, D>,
[src]
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, D>,
type Element = Rotation<<N as SimdValue>::Element, D>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Rotation<N, D> as SimdValue>::Element) -> Rotation<N, D>
[src]
fn extract(&self, i: usize) -> <Rotation<N, D> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Rotation<N, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Rotation<N, D> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Rotation<N, D> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Rotation<N, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Rotation<N, D> as SimdValue>::Element
)
fn select(
self,
cond: <Rotation<N, D> as SimdValue>::SimdBool,
other: Rotation<N, D>
) -> Rotation<N, D>
[src]
self,
cond: <Rotation<N, D> as SimdValue>::SimdBool,
other: Rotation<N, D>
) -> Rotation<N, D>
impl<N, D> SimdValue for Translation<N, D> where
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
type Element = Translation<<N as SimdValue>::Element, D>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Translation<N, D> as SimdValue>::Element) -> Translation<N, D>
[src]
fn extract(&self, i: usize) -> <Translation<N, D> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Translation<N, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Translation<N, D> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Translation<N, D> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Translation<N, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Translation<N, D> as SimdValue>::Element
)
fn select(
self,
cond: <Translation<N, D> as SimdValue>::SimdBool,
other: Translation<N, D>
) -> Translation<N, D>
[src]
self,
cond: <Translation<N, D> as SimdValue>::SimdBool,
other: Translation<N, D>
) -> Translation<N, D>
impl<N, D, C> SimdValue for Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: RealField,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategory,
D: DimNameAdd<U1>,
N: RealField,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
type Element = Transform<<N as SimdValue>::Element, D, C>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Transform<N, D, C> as SimdValue>::Element) -> Transform<N, D, C>
[src]
fn extract(&self, i: usize) -> <Transform<N, D, C> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Transform<N, D, C> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Transform<N, D, C> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Transform<N, D, C> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Transform<N, D, C> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Transform<N, D, C> as SimdValue>::Element
)
fn select(
self,
cond: <Transform<N, D, C> as SimdValue>::SimdBool,
other: Transform<N, D, C>
) -> Transform<N, D, C>
[src]
self,
cond: <Transform<N, D, C> as SimdValue>::SimdBool,
other: Transform<N, D, C>
) -> Transform<N, D, C>
impl<N, D, R> SimdValue for Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: SimdValue<SimdBool = <N as SimdValue>::SimdBool> + AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
<R as SimdValue>::Element: AbstractRotation<<N as SimdValue>::Element, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
D: DimName,
N: SimdRealField,
R: SimdValue<SimdBool = <N as SimdValue>::SimdBool> + AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
<R as SimdValue>::Element: AbstractRotation<<N as SimdValue>::Element, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
type Element = Isometry<<N as SimdValue>::Element, D, <R as SimdValue>::Element>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(val: <Isometry<N, D, R> as SimdValue>::Element) -> Isometry<N, D, R>
[src]
fn extract(&self, i: usize) -> <Isometry<N, D, R> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Isometry<N, D, R> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Isometry<N, D, R> as SimdValue>::Element
fn replace(&mut self, i: usize, val: <Isometry<N, D, R> as SimdValue>::Element)
[src]
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Isometry<N, D, R> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Isometry<N, D, R> as SimdValue>::Element
)
fn select(
self,
cond: <Isometry<N, D, R> as SimdValue>::SimdBool,
other: Isometry<N, D, R>
) -> Isometry<N, D, R>
[src]
self,
cond: <Isometry<N, D, R> as SimdValue>::SimdBool,
other: Isometry<N, D, R>
) -> Isometry<N, D, R>
impl<N, D, R> SimdValue for Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: SimdValue<SimdBool = <N as SimdValue>::SimdBool> + AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
<R as SimdValue>::Element: AbstractRotation<<N as SimdValue>::Element, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
D: DimName,
N: SimdRealField,
R: SimdValue<SimdBool = <N as SimdValue>::SimdBool> + AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
<R as SimdValue>::Element: AbstractRotation<<N as SimdValue>::Element, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
type Element = Similarity<<N as SimdValue>::Element, D, <R as SimdValue>::Element>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(
val: <Similarity<N, D, R> as SimdValue>::Element
) -> Similarity<N, D, R>
[src]
val: <Similarity<N, D, R> as SimdValue>::Element
) -> Similarity<N, D, R>
fn extract(&self, i: usize) -> <Similarity<N, D, R> as SimdValue>::Element
[src]
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Similarity<N, D, R> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Similarity<N, D, R> as SimdValue>::Element
fn replace(
&mut self,
i: usize,
val: <Similarity<N, D, R> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Similarity<N, D, R> as SimdValue>::Element
)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Similarity<N, D, R> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Similarity<N, D, R> as SimdValue>::Element
)
fn select(
self,
cond: <Similarity<N, D, R> as SimdValue>::SimdBool,
other: Similarity<N, D, R>
) -> Similarity<N, D, R>
[src]
self,
cond: <Similarity<N, D, R> as SimdValue>::SimdBool,
other: Similarity<N, D, R>
) -> Similarity<N, D, R>
impl<N, R, C> SimdValue for Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> where
C: Dim,
N: Scalar + SimdValue,
R: Dim,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, R, C>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, R, C>,
[src]
C: Dim,
N: Scalar + SimdValue,
R: Dim,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, R, C>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, R, C>,
type Element = Matrix<<N as SimdValue>::Element, R, C, <DefaultAllocator as Allocator<<N as SimdValue>::Element, R, C>>::Buffer>
type SimdBool = <N as SimdValue>::SimdBool
fn lanes() -> usize
[src]
fn splat(
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
) -> Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>
[src]
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
) -> Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>
fn extract(
&self,
i: usize
) -> <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
unsafe fn extract_unchecked(
&self,
i: usize
) -> <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
fn replace(
&mut self,
i: usize,
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::Element
)
fn select(
self,
cond: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::SimdBool,
other: Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>
) -> Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>
[src]
self,
cond: <Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer> as SimdValue>::SimdBool,
other: Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>
) -> Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>