Struct SimdM
#[repr(simd)]
pub(crate) struct SimdM<T: SimdElement, const N: usize>(pub(in ::core_arch::simd) [T; N]);
Fields
0: [T; N]
Implementations
impl<T: SimdElement, const N: usize> SimdM<T, N>
const fn bool_to_internal(x: bool) -> Tconst fn from_array(elements: [bool; N]) -> Selfconst fn splat(value: bool) -> Selfconst fn as_array(&self) -> &[T; N]
Trait Implementations
impl From<vector_bool_char> for SimdM<i8, 16>
fn from(value: vector_bool_char) -> Self
impl From<vector_bool_char> for SimdM<i8, 16>
fn from(value: vector_bool_char) -> Self
impl From<vector_bool_int> for SimdM<i32, 4>
fn from(value: vector_bool_int) -> Self
impl From<vector_bool_int> for SimdM<i32, 4>
fn from(value: vector_bool_int) -> Self
impl From<vector_bool_long> for SimdM<i64, 2>
fn from(value: vector_bool_long) -> Self
impl From<vector_bool_short> for SimdM<i16, 8>
fn from(value: vector_bool_short) -> Self
impl From<vector_bool_short> for SimdM<i16, 8>
fn from(value: vector_bool_short) -> Self
impl<T: Copy + SimdElement, const N: usize> Copy for SimdM<T, N>
impl<T: SimdElement, const N: usize> Clone for SimdM<T, N>
fn clone(&self) -> Self
impl<T: SimdElement, const N: usize> Debug for SimdM<T, N>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: SimdElement, const N: usize> PartialEq for SimdM<T, N>
fn eq(&self, other: &Self) -> bool
Auto Trait Implementations
impl<T, const N: usize> Freeze for SimdM<T, N>
where
[T; N]: Freeze,
impl<T, const N: usize> RefUnwindSafe for SimdM<T, N>
where
[T; N]: RefUnwindSafe,
impl<T, const N: usize> Send for SimdM<T, N>
where
[T; N]: Send,
impl<T, const N: usize> Sync for SimdM<T, N>
where
[T; N]: Sync,
impl<T, const N: usize> Unpin for SimdM<T, N>
where
[T; N]: Unpin,
impl<T, const N: usize> UnsafeUnpin for SimdM<T, N>
where
[T; N]: UnsafeUnpin,
impl<T, const N: usize> UnwindSafe for SimdM<T, N>
where
[T; N]: UnwindSafe,
Blanket Implementations
impl<T> Any for SimdM<T, N>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SimdM<T, N>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SimdM<T, N>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SimdM<T, N>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SimdM<T, N>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for SimdM<T, N>
where
T: Copy + Debug,
impl<T> SizeHint for SimdM<T, N>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for SimdM<T, N>
impl<T, U> Into<U> for SimdM<T, N>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SimdM<T, N>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for SimdM<T, N>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>