Skip to main content

Simd

Struct Simd 

Source
#[repr(simd)]
pub(crate) struct Simd<T: SimdElement, const N: usize>([T; N]);

Tuple Fields§

§0: [T; N]

Implementations§

Source§

impl<T: SimdElement, const N: usize> Simd<T, N>

Source

pub(crate) const ZERO: Self

A value of this type where all elements are zeroed out.

Source

pub(crate) const fn from_array(elements: [T; N]) -> Self

Source

pub(crate) const fn splat(value: T) -> Self

Source

pub(crate) const fn extract_dyn(&self, index: usize) -> T

Extract the element at position index. Note that index is not a constant so this operation is not efficient on most platforms. Use for testing only.

Source

pub(crate) const fn as_array(&self) -> &[T; N]

Source§

impl<const N: usize> Simd<f16, N>

Source

pub(crate) const fn to_bits(self) -> Simd<u16, N>

Source

pub(crate) const fn from_bits(bits: Simd<u16, N>) -> Self

Source§

impl<const N: usize> Simd<f32, N>

Source

pub(crate) const fn to_bits(self) -> Simd<u32, N>

Source

pub(crate) const fn from_bits(bits: Simd<u32, N>) -> Self

Source§

impl<const N: usize> Simd<f64, N>

Source

pub(crate) const fn to_bits(self) -> Simd<u64, N>

Source

pub(crate) const fn from_bits(bits: Simd<u64, N>) -> Self

Source§

impl Simd<u8, 2>

Source

pub(crate) const fn new(x0: u8, x1: u8) -> Self

Source§

impl Simd<i8, 2>

Source

pub(crate) const fn new(x0: i8, x1: i8) -> Self

Source§

impl Simd<u8, 4>

Source

pub(crate) const fn new(x0: u8, x1: u8, x2: u8, x3: u8) -> Self

Source§

impl Simd<u16, 2>

Source

pub(crate) const fn new(x0: u16, x1: u16) -> Self

Source§

impl Simd<i8, 4>

Source

pub(crate) const fn new(x0: i8, x1: i8, x2: i8, x3: i8) -> Self

Source§

impl Simd<i16, 2>

Source

pub(crate) const fn new(x0: i16, x1: i16) -> Self

Source§

impl Simd<u8, 8>

Source

pub(crate) const fn new( x0: u8, x1: u8, x2: u8, x3: u8, x4: u8, x5: u8, x6: u8, x7: u8, ) -> Self

Source§

impl Simd<u16, 4>

Source

pub(crate) const fn new(x0: u16, x1: u16, x2: u16, x3: u16) -> Self

Source§

impl Simd<u32, 2>

Source

pub(crate) const fn new(x0: u32, x1: u32) -> Self

Source§

impl Simd<u64, 1>

Source

pub(crate) const fn new(x1: u64) -> Self

Source§

impl Simd<i8, 8>

Source

pub(crate) const fn new( x0: i8, x1: i8, x2: i8, x3: i8, x4: i8, x5: i8, x6: i8, x7: i8, ) -> Self

Source§

impl Simd<i16, 4>

Source

pub(crate) const fn new(x0: i16, x1: i16, x2: i16, x3: i16) -> Self

Source§

impl Simd<i32, 2>

Source

pub(crate) const fn new(x0: i32, x1: i32) -> Self

Source§

impl Simd<i64, 1>

Source

pub(crate) const fn new(x1: i64) -> Self

Source§

impl Simd<f32, 2>

Source

pub(crate) const fn new(x0: f32, x1: f32) -> Self

Source§

impl Simd<f64, 1>

Source

pub(crate) const fn new(x1: f64) -> Self

Source§

impl Simd<u8, 16>

Source

pub(crate) const fn new( x0: u8, x1: u8, x2: u8, x3: u8, x4: u8, x5: u8, x6: u8, x7: u8, x8: u8, x9: u8, x10: u8, x11: u8, x12: u8, x13: u8, x14: u8, x15: u8, ) -> Self

Source§

impl Simd<u16, 8>

Source

pub(crate) const fn new( x0: u16, x1: u16, x2: u16, x3: u16, x4: u16, x5: u16, x6: u16, x7: u16, ) -> Self

Source§

impl Simd<u32, 4>

Source

pub(crate) const fn new(x0: u32, x1: u32, x2: u32, x3: u32) -> Self

Source§

impl Simd<u64, 2>

Source

pub(crate) const fn new(x0: u64, x1: u64) -> Self

Source§

impl Simd<i8, 16>

Source

pub(crate) const fn new( x0: i8, x1: i8, x2: i8, x3: i8, x4: i8, x5: i8, x6: i8, x7: i8, x8: i8, x9: i8, x10: i8, x11: i8, x12: i8, x13: i8, x14: i8, x15: i8, ) -> Self

Source§

impl Simd<i16, 8>

Source

pub(crate) const fn new( x0: i16, x1: i16, x2: i16, x3: i16, x4: i16, x5: i16, x6: i16, x7: i16, ) -> Self

Source§

impl Simd<i32, 4>

Source

pub(crate) const fn new(x0: i32, x1: i32, x2: i32, x3: i32) -> Self

Source§

impl Simd<i64, 2>

Source

pub(crate) const fn new(x0: i64, x1: i64) -> Self

Source§

impl Simd<f16, 4>

Source

pub(crate) const fn new(x0: f16, x1: f16, x2: f16, x3: f16) -> Self

Source§

impl Simd<f16, 8>

Source

pub(crate) const fn new( x0: f16, x1: f16, x2: f16, x3: f16, x4: f16, x5: f16, x6: f16, x7: f16, ) -> Self

Source§

impl Simd<f32, 4>

Source

pub(crate) const fn new(x0: f32, x1: f32, x2: f32, x3: f32) -> Self

Source§

impl Simd<f64, 2>

Source

pub(crate) const fn new(x0: f64, x1: f64) -> Self

Source§

impl Simd<u8, 32>

Source

pub(crate) const fn new( x0: u8, x1: u8, x2: u8, x3: u8, x4: u8, x5: u8, x6: u8, x7: u8, x8: u8, x9: u8, x10: u8, x11: u8, x12: u8, x13: u8, x14: u8, x15: u8, x16: u8, x17: u8, x18: u8, x19: u8, x20: u8, x21: u8, x22: u8, x23: u8, x24: u8, x25: u8, x26: u8, x27: u8, x28: u8, x29: u8, x30: u8, x31: u8, ) -> Self

Source§

impl Simd<u16, 16>

Source

pub(crate) const fn new( x0: u16, x1: u16, x2: u16, x3: u16, x4: u16, x5: u16, x6: u16, x7: u16, x8: u16, x9: u16, x10: u16, x11: u16, x12: u16, x13: u16, x14: u16, x15: u16, ) -> Self

Source§

impl Simd<u32, 8>

Source

pub(crate) const fn new( x0: u32, x1: u32, x2: u32, x3: u32, x4: u32, x5: u32, x6: u32, x7: u32, ) -> Self

Source§

impl Simd<u64, 4>

Source

pub(crate) const fn new(x0: u64, x1: u64, x2: u64, x3: u64) -> Self

Source§

impl Simd<i8, 32>

Source

pub(crate) const fn new( x0: i8, x1: i8, x2: i8, x3: i8, x4: i8, x5: i8, x6: i8, x7: i8, x8: i8, x9: i8, x10: i8, x11: i8, x12: i8, x13: i8, x14: i8, x15: i8, x16: i8, x17: i8, x18: i8, x19: i8, x20: i8, x21: i8, x22: i8, x23: i8, x24: i8, x25: i8, x26: i8, x27: i8, x28: i8, x29: i8, x30: i8, x31: i8, ) -> Self

Source§

impl Simd<i16, 16>

Source

pub(crate) const fn new( x0: i16, x1: i16, x2: i16, x3: i16, x4: i16, x5: i16, x6: i16, x7: i16, x8: i16, x9: i16, x10: i16, x11: i16, x12: i16, x13: i16, x14: i16, x15: i16, ) -> Self

Source§

impl Simd<i32, 8>

Source

pub(crate) const fn new( x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32, ) -> Self

Source§

impl Simd<i64, 4>

Source

pub(crate) const fn new(x0: i64, x1: i64, x2: i64, x3: i64) -> Self

Source§

impl Simd<f16, 16>

Source

pub(crate) const fn new( x0: f16, x1: f16, x2: f16, x3: f16, x4: f16, x5: f16, x6: f16, x7: f16, x8: f16, x9: f16, x10: f16, x11: f16, x12: f16, x13: f16, x14: f16, x15: f16, ) -> Self

Source§

impl Simd<f32, 8>

Source

pub(crate) const fn new( x0: f32, x1: f32, x2: f32, x3: f32, x4: f32, x5: f32, x6: f32, x7: f32, ) -> Self

Source§

impl Simd<f64, 4>

Source

pub(crate) const fn new(x0: f64, x1: f64, x2: f64, x3: f64) -> Self

Source§

impl Simd<i8, 64>

Source

pub(crate) const fn new( x0: i8, x1: i8, x2: i8, x3: i8, x4: i8, x5: i8, x6: i8, x7: i8, x8: i8, x9: i8, x10: i8, x11: i8, x12: i8, x13: i8, x14: i8, x15: i8, x16: i8, x17: i8, x18: i8, x19: i8, x20: i8, x21: i8, x22: i8, x23: i8, x24: i8, x25: i8, x26: i8, x27: i8, x28: i8, x29: i8, x30: i8, x31: i8, x32: i8, x33: i8, x34: i8, x35: i8, x36: i8, x37: i8, x38: i8, x39: i8, x40: i8, x41: i8, x42: i8, x43: i8, x44: i8, x45: i8, x46: i8, x47: i8, x48: i8, x49: i8, x50: i8, x51: i8, x52: i8, x53: i8, x54: i8, x55: i8, x56: i8, x57: i8, x58: i8, x59: i8, x60: i8, x61: i8, x62: i8, x63: i8, ) -> Self

Source§

impl Simd<u8, 64>

Source

pub(crate) const fn new( x0: u8, x1: u8, x2: u8, x3: u8, x4: u8, x5: u8, x6: u8, x7: u8, x8: u8, x9: u8, x10: u8, x11: u8, x12: u8, x13: u8, x14: u8, x15: u8, x16: u8, x17: u8, x18: u8, x19: u8, x20: u8, x21: u8, x22: u8, x23: u8, x24: u8, x25: u8, x26: u8, x27: u8, x28: u8, x29: u8, x30: u8, x31: u8, x32: u8, x33: u8, x34: u8, x35: u8, x36: u8, x37: u8, x38: u8, x39: u8, x40: u8, x41: u8, x42: u8, x43: u8, x44: u8, x45: u8, x46: u8, x47: u8, x48: u8, x49: u8, x50: u8, x51: u8, x52: u8, x53: u8, x54: u8, x55: u8, x56: u8, x57: u8, x58: u8, x59: u8, x60: u8, x61: u8, x62: u8, x63: u8, ) -> Self

Source§

impl Simd<i16, 32>

Source

pub(crate) const fn new( x0: i16, x1: i16, x2: i16, x3: i16, x4: i16, x5: i16, x6: i16, x7: i16, x8: i16, x9: i16, x10: i16, x11: i16, x12: i16, x13: i16, x14: i16, x15: i16, x16: i16, x17: i16, x18: i16, x19: i16, x20: i16, x21: i16, x22: i16, x23: i16, x24: i16, x25: i16, x26: i16, x27: i16, x28: i16, x29: i16, x30: i16, x31: i16, ) -> Self

Source§

impl Simd<u16, 32>

Source

pub(crate) const fn new( x0: u16, x1: u16, x2: u16, x3: u16, x4: u16, x5: u16, x6: u16, x7: u16, x8: u16, x9: u16, x10: u16, x11: u16, x12: u16, x13: u16, x14: u16, x15: u16, x16: u16, x17: u16, x18: u16, x19: u16, x20: u16, x21: u16, x22: u16, x23: u16, x24: u16, x25: u16, x26: u16, x27: u16, x28: u16, x29: u16, x30: u16, x31: u16, ) -> Self

Source§

impl Simd<i32, 16>

Source

pub(crate) const fn new( x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32, x8: i32, x9: i32, x10: i32, x11: i32, x12: i32, x13: i32, x14: i32, x15: i32, ) -> Self

Source§

impl Simd<u32, 16>

Source

pub(crate) const fn new( x0: u32, x1: u32, x2: u32, x3: u32, x4: u32, x5: u32, x6: u32, x7: u32, x8: u32, x9: u32, x10: u32, x11: u32, x12: u32, x13: u32, x14: u32, x15: u32, ) -> Self

Source§

impl Simd<f16, 32>

Source

pub(crate) const fn new( x0: f16, x1: f16, x2: f16, x3: f16, x4: f16, x5: f16, x6: f16, x7: f16, x8: f16, x9: f16, x10: f16, x11: f16, x12: f16, x13: f16, x14: f16, x15: f16, x16: f16, x17: f16, x18: f16, x19: f16, x20: f16, x21: f16, x22: f16, x23: f16, x24: f16, x25: f16, x26: f16, x27: f16, x28: f16, x29: f16, x30: f16, x31: f16, ) -> Self

Source§

impl Simd<f32, 16>

Source

pub(crate) const fn new( x0: f32, x1: f32, x2: f32, x3: f32, x4: f32, x5: f32, x6: f32, x7: f32, x8: f32, x9: f32, x10: f32, x11: f32, x12: f32, x13: f32, x14: f32, x15: f32, ) -> Self

Source§

impl Simd<i64, 8>

Source

pub(crate) const fn new( x0: i64, x1: i64, x2: i64, x3: i64, x4: i64, x5: i64, x6: i64, x7: i64, ) -> Self

Source§

impl Simd<u64, 8>

Source

pub(crate) const fn new( x0: u64, x1: u64, x2: u64, x3: u64, x4: u64, x5: u64, x6: u64, x7: u64, ) -> Self

Source§

impl Simd<f64, 8>

Source

pub(crate) const fn new( x0: f64, x1: f64, x2: f64, x3: f64, x4: f64, x5: f64, x6: f64, x7: f64, ) -> Self

Source§

impl Simd<u16, 64>

Source

pub(crate) const fn new( x0: u16, x1: u16, x2: u16, x3: u16, x4: u16, x5: u16, x6: u16, x7: u16, x8: u16, x9: u16, x10: u16, x11: u16, x12: u16, x13: u16, x14: u16, x15: u16, x16: u16, x17: u16, x18: u16, x19: u16, x20: u16, x21: u16, x22: u16, x23: u16, x24: u16, x25: u16, x26: u16, x27: u16, x28: u16, x29: u16, x30: u16, x31: u16, x32: u16, x33: u16, x34: u16, x35: u16, x36: u16, x37: u16, x38: u16, x39: u16, x40: u16, x41: u16, x42: u16, x43: u16, x44: u16, x45: u16, x46: u16, x47: u16, x48: u16, x49: u16, x50: u16, x51: u16, x52: u16, x53: u16, x54: u16, x55: u16, x56: u16, x57: u16, x58: u16, x59: u16, x60: u16, x61: u16, x62: u16, x63: u16, ) -> Self

Source§

impl Simd<i32, 32>

Source

pub(crate) const fn new( x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32, x8: i32, x9: i32, x10: i32, x11: i32, x12: i32, x13: i32, x14: i32, x15: i32, x16: i32, x17: i32, x18: i32, x19: i32, x20: i32, x21: i32, x22: i32, x23: i32, x24: i32, x25: i32, x26: i32, x27: i32, x28: i32, x29: i32, x30: i32, x31: i32, ) -> Self

Source§

impl Simd<u32, 32>

Source

pub(crate) const fn new( x0: u32, x1: u32, x2: u32, x3: u32, x4: u32, x5: u32, x6: u32, x7: u32, x8: u32, x9: u32, x10: u32, x11: u32, x12: u32, x13: u32, x14: u32, x15: u32, x16: u32, x17: u32, x18: u32, x19: u32, x20: u32, x21: u32, x22: u32, x23: u32, x24: u32, x25: u32, x26: u32, x27: u32, x28: u32, x29: u32, x30: u32, x31: u32, ) -> Self

Source§

impl Simd<u8, 16>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 8>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 4>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<u64, 2>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<i8, 16>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 8>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 4>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<i64, 2>

Source

pub(crate) const fn as_m128i(self) -> __m128i

Available on x86 or x86-64 only.
Source§

impl Simd<u8, 32>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 16>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 8>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<u64, 4>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<i8, 32>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 16>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 8>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<i64, 4>

Source

pub(crate) const fn as_m256i(self) -> __m256i

Available on x86 or x86-64 only.
Source§

impl Simd<u8, 64>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 32>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 16>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<u64, 8>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<i8, 64>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 32>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 16>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<i64, 8>

Source

pub(crate) const fn as_m512i(self) -> __m512i

Available on x86 or x86-64 only.
Source§

impl Simd<f32, 4>

Source

pub(crate) const fn as_m128(self) -> __m128

Available on x86 or x86-64 only.
Source§

impl Simd<f64, 2>

Source

pub(crate) const fn as_m128d(self) -> __m128d

Available on x86 or x86-64 only.
Source§

impl Simd<f32, 8>

Source

pub(crate) const fn as_m256(self) -> __m256

Available on x86 or x86-64 only.
Source§

impl Simd<f64, 4>

Source

pub(crate) const fn as_m256d(self) -> __m256d

Available on x86 or x86-64 only.
Source§

impl Simd<f32, 16>

Source

pub(crate) const fn as_m512(self) -> __m512

Available on x86 or x86-64 only.
Source§

impl Simd<f64, 8>

Source

pub(crate) const fn as_m512d(self) -> __m512d

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 8>

Source

pub(crate) const fn as_m128bh(self) -> __m128bh

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 4>

Source

pub(crate) const fn as_m128bh(self) -> __m128bh

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 8>

Source

pub(crate) const fn as_m128bh(self) -> __m128bh

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 4>

Source

pub(crate) const fn as_m128bh(self) -> __m128bh

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 16>

Source

pub(crate) const fn as_m256bh(self) -> __m256bh

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 8>

Source

pub(crate) const fn as_m256bh(self) -> __m256bh

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 16>

Source

pub(crate) const fn as_m256bh(self) -> __m256bh

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 8>

Source

pub(crate) const fn as_m256bh(self) -> __m256bh

Available on x86 or x86-64 only.
Source§

impl Simd<u16, 32>

Source

pub(crate) const fn as_m512bh(self) -> __m512bh

Available on x86 or x86-64 only.
Source§

impl Simd<u32, 16>

Source

pub(crate) const fn as_m512bh(self) -> __m512bh

Available on x86 or x86-64 only.
Source§

impl Simd<i16, 32>

Source

pub(crate) const fn as_m512bh(self) -> __m512bh

Available on x86 or x86-64 only.
Source§

impl Simd<i32, 16>

Source

pub(crate) const fn as_m512bh(self) -> __m512bh

Available on x86 or x86-64 only.
Source§

impl Simd<f16, 8>

Source

pub(crate) const fn as_m128h(self) -> __m128h

Available on x86 or x86-64 only.
Source§

impl Simd<f16, 16>

Source

pub(crate) const fn as_m256h(self) -> __m256h

Available on x86 or x86-64 only.
Source§

impl Simd<f16, 32>

Source

pub(crate) const fn as_m512h(self) -> __m512h

Available on x86 or x86-64 only.
Source§

impl Simd<u8, 16>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<u16, 8>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<u32, 4>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<u64, 2>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<i8, 16>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<i16, 8>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<i32, 4>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<i64, 2>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<f32, 4>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.
Source§

impl Simd<f64, 2>

Source

pub(crate) const fn v128(self) -> v128

Available on target_family=wasm only.

Trait Implementations§

Source§

impl<T: SimdElement, const N: usize> Clone for Simd<T, N>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)
where Self:,

Performs copy-assignment from source. Read more
Source§

impl<T: SimdElement, const N: usize> Debug for Simd<T, N>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<HvxVector> for Simd<i32, 16>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVector) -> Self

Converts to this type from the input type.
Source§

impl From<HvxVector> for Simd<i32, 32>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVector) -> Self

Converts to this type from the input type.
Source§

impl From<HvxVectorPair> for Simd<i32, 32>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVectorPair) -> Self

Converts to this type from the input type.
Source§

impl From<HvxVectorPair> for Simd<i32, 64>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVectorPair) -> Self

Converts to this type from the input type.
Source§

impl From<HvxVectorPred> for Simd<i32, 16>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVectorPred) -> Self

Converts to this type from the input type.
Source§

impl From<HvxVectorPred> for Simd<i32, 32>

Available on target_arch=hexagon only.
Source§

fn from(simd: HvxVectorPred) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<Simd<f16, 16>> for __m256h

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f16, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f16, 2>> for f16x2

Available on target_arch=nvptx64 only.
Source§

fn from(simd: Simd<f16, 2>) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<Simd<f16, 32>> for __m512h

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f16, 32>) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<Simd<f16, 4>> for float16x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<f16, 4>) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<Simd<f16, 8>> for __m128h

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f16, 8>) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<Simd<f16, 8>> for float16x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<f16, 8>) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<Simd<f32, 16>> for __m512

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f32, 16>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<f32, 2>> for float32x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<f32, 2>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<f32, 4>> for __m128

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f32, 4>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<f32, 4>> for float32x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<f32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f32, 4>> for m128

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<f32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f32, 4>> for vector_float

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<f32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f32, 4>> for vector_float

Available on s390x only.
Source§

fn from(simd: Simd<f32, 4>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<f32, 8>> for __m256

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f32, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f32, 8>> for m256

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<f32, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<f64, 1>> for float64x1_t

Available on AArch64 or target_arch=arm64ec only.
Source§

fn from(simd: Simd<f64, 1>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<f64, 2>> for __m128d

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f64, 2>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<f64, 2>> for float64x2_t

Available on AArch64 or target_arch=arm64ec only.
Source§

fn from(simd: Simd<f64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f64, 2>> for m128d

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<f64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f64, 2>> for vector_double

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<f64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f64, 2>> for vector_double

Available on s390x only.
Source§

fn from(simd: Simd<f64, 2>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<f64, 4>> for __m256d

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f64, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<f64, 4>> for m256d

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<f64, 4>) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<Simd<f64, 8>> for __m512d

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<f64, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i16, 4>> for int16x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i16, 4>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i16, 8>> for int16x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i16, 8>> for vector_bool_short

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i16, 8>> for vector_bool_short

Available on s390x only.
Source§

fn from(simd: Simd<i16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i16, 8>> for vector_signed_short

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i16, 8>> for vector_signed_short

Available on s390x only.
Source§

fn from(simd: Simd<i16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 16>> for HvxVector

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 16>> for HvxVectorPred

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 16>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i32, 2>> for int32x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i32, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 32>> for HvxVector

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 32>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 32>> for HvxVectorPair

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 32>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 32>> for HvxVectorPred

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 32>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i32, 4>> for int32x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
1.54.0 · Source§

impl From<Simd<i32, 4>> for v128

Available on target_family=wasm only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 4>> for vector_bool_int

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 4>> for vector_bool_int

Available on s390x only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 4>> for vector_signed_int

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 4>> for vector_signed_int

Available on s390x only.
Source§

fn from(simd: Simd<i32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i32, 64>> for HvxVectorPair

Available on target_arch=hexagon only.
Source§

fn from(simd: Simd<i32, 64>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i64, 1>> for int64x1_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i64, 1>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<i64, 2>> for __m128i

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i64, 2>> for int64x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 2>> for m128i

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 2>> for vector_bool_long

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 2>> for vector_bool_long_long

Available on s390x only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 2>> for vector_signed_long

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 2>> for vector_signed_long_long

Available on s390x only.
Source§

fn from(simd: Simd<i64, 2>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<Simd<i64, 4>> for __m256i

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<i64, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i64, 4>> for m256i

Available on LoongArch LA64 only.
Source§

fn from(simd: Simd<i64, 4>) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<Simd<i64, 8>> for __m512i

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<i64, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i8, 16>> for int8x16_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i8, 16>> for vector_bool_char

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i8, 16>> for vector_bool_char

Available on s390x only.
Source§

fn from(simd: Simd<i8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i8, 16>> for vector_signed_char

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<i8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<i8, 16>> for vector_signed_char

Available on s390x only.
Source§

fn from(simd: Simd<i8, 16>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<i8, 8>> for int8x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<i8, 8>) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<Simd<u16, 16>> for __m256bh

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<u16, 16>) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<Simd<u16, 32>> for __m512bh

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<u16, 32>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u16, 4>> for poly16x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u16, 4>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u16, 4>> for uint16x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u16, 4>) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<Simd<u16, 8>> for __m128bh

Available on x86 or x86-64 only.
Source§

fn from(simd: Simd<u16, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u16, 8>> for poly16x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u16, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u16, 8>> for uint16x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u16, 8>> for vector_unsigned_short

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<u16, 8>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u16, 8>> for vector_unsigned_short

Available on s390x only.
Source§

fn from(simd: Simd<u16, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u32, 2>> for uint32x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u32, 2>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u32, 4>> for uint32x4_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u32, 4>> for vector_unsigned_int

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<u32, 4>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u32, 4>> for vector_unsigned_int

Available on s390x only.
Source§

fn from(simd: Simd<u32, 4>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u64, 1>> for poly64x1_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u64, 1>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u64, 1>> for uint64x1_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u64, 1>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u64, 2>> for poly64x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u64, 2>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u64, 2>> for uint64x2_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u64, 2>> for vector_unsigned_long

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<u64, 2>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u64, 2>> for vector_unsigned_long_long

Available on s390x only.
Source§

fn from(simd: Simd<u64, 2>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u8, 16>> for poly8x16_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u8, 16>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u8, 16>> for uint8x16_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u8, 16>> for vector_unsigned_char

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: Simd<u8, 16>) -> Self

Converts to this type from the input type.
Source§

impl From<Simd<u8, 16>> for vector_unsigned_char

Available on s390x only.
Source§

fn from(simd: Simd<u8, 16>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u8, 8>> for poly8x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u8, 8>) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<Simd<u8, 8>> for uint8x8_t

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: Simd<u8, 8>) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m128> for Simd<f32, 4>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m128) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<__m128bh> for Simd<u16, 8>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m128bh) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m128d> for Simd<f64, 2>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m128d) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<__m128h> for Simd<f16, 8>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m128h) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m128i> for Simd<i64, 2>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m128i) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m256> for Simd<f32, 8>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m256) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<__m256bh> for Simd<u16, 16>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m256bh) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m256d> for Simd<f64, 4>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m256d) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<__m256h> for Simd<f16, 16>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m256h) -> Self

Converts to this type from the input type.
1.27.0 · Source§

impl From<__m256i> for Simd<i64, 4>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m256i) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<__m512> for Simd<f32, 16>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m512) -> Self

Converts to this type from the input type.
1.89.0 · Source§

impl From<__m512bh> for Simd<u16, 32>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m512bh) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<__m512d> for Simd<f64, 8>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m512d) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<__m512h> for Simd<f16, 32>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m512h) -> Self

Converts to this type from the input type.
1.72.0 · Source§

impl From<__m512i> for Simd<i64, 8>

Available on x86 or x86-64 only.
Source§

fn from(simd: __m512i) -> Self

Converts to this type from the input type.
Source§

impl From<f16x2> for Simd<f16, 2>

Available on target_arch=nvptx64 only.
Source§

fn from(simd: f16x2) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<float16x4_t> for Simd<f16, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: float16x4_t) -> Self

Converts to this type from the input type.
1.94.0 · Source§

impl From<float16x8_t> for Simd<f16, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: float16x8_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<float32x2_t> for Simd<f32, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: float32x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<float32x4_t> for Simd<f32, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: float32x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<float64x1_t> for Simd<f64, 1>

Available on AArch64 or target_arch=arm64ec only.
Source§

fn from(simd: float64x1_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<float64x2_t> for Simd<f64, 2>

Available on AArch64 or target_arch=arm64ec only.
Source§

fn from(simd: float64x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int16x4_t> for Simd<i16, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int16x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int16x8_t> for Simd<i16, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int16x8_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int32x2_t> for Simd<i32, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int32x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int32x4_t> for Simd<i32, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int32x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int64x1_t> for Simd<i64, 1>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int64x1_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int64x2_t> for Simd<i64, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int64x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int8x16_t> for Simd<i8, 16>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int8x16_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<int8x8_t> for Simd<i8, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: int8x8_t) -> Self

Converts to this type from the input type.
Source§

impl From<m128> for Simd<f32, 4>

Available on LoongArch LA64 only.
Source§

fn from(simd: m128) -> Self

Converts to this type from the input type.
Source§

impl From<m128d> for Simd<f64, 2>

Available on LoongArch LA64 only.
Source§

fn from(simd: m128d) -> Self

Converts to this type from the input type.
Source§

impl From<m128i> for Simd<i64, 2>

Available on LoongArch LA64 only.
Source§

fn from(simd: m128i) -> Self

Converts to this type from the input type.
Source§

impl From<m256> for Simd<f32, 8>

Available on LoongArch LA64 only.
Source§

fn from(simd: m256) -> Self

Converts to this type from the input type.
Source§

impl From<m256d> for Simd<f64, 4>

Available on LoongArch LA64 only.
Source§

fn from(simd: m256d) -> Self

Converts to this type from the input type.
Source§

impl From<m256i> for Simd<i64, 4>

Available on LoongArch LA64 only.
Source§

fn from(simd: m256i) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly16x4_t> for Simd<u16, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly16x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly16x8_t> for Simd<u16, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly16x8_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly64x1_t> for Simd<u64, 1>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly64x1_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly64x2_t> for Simd<u64, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly64x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly8x16_t> for Simd<u8, 16>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly8x16_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<poly8x8_t> for Simd<u8, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: poly8x8_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint16x4_t> for Simd<u16, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint16x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint16x8_t> for Simd<u16, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint16x8_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint32x2_t> for Simd<u32, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint32x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint32x4_t> for Simd<u32, 4>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint32x4_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint64x1_t> for Simd<u64, 1>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint64x1_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint64x2_t> for Simd<u64, 2>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint64x2_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint8x16_t> for Simd<u8, 16>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint8x16_t) -> Self

Converts to this type from the input type.
1.59.0 · Source§

impl From<uint8x8_t> for Simd<u8, 8>

Available on (AArch64 or target_arch=arm64ec or target feature v7) and (ARM or AArch64 or target_arch=arm64ec) only.
Source§

fn from(simd: uint8x8_t) -> Self

Converts to this type from the input type.
1.54.0 · Source§

impl From<v128> for Simd<i32, 4>

Available on target_family=wasm only.
Source§

fn from(simd: v128) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_char> for Simd<i8, 16>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_bool_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_char> for Simd<i8, 16>

Available on s390x only.
Source§

fn from(simd: vector_bool_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_int> for Simd<i32, 4>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_bool_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_int> for Simd<i32, 4>

Available on s390x only.
Source§

fn from(simd: vector_bool_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_long> for Simd<i64, 2>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_bool_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_long_long> for Simd<i64, 2>

Available on s390x only.
Source§

fn from(simd: vector_bool_long_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_short> for Simd<i16, 8>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_bool_short) -> Self

Converts to this type from the input type.
Source§

impl From<vector_bool_short> for Simd<i16, 8>

Available on s390x only.
Source§

fn from(simd: vector_bool_short) -> Self

Converts to this type from the input type.
Source§

impl From<vector_double> for Simd<f64, 2>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_double) -> Self

Converts to this type from the input type.
Source§

impl From<vector_double> for Simd<f64, 2>

Available on s390x only.
Source§

fn from(simd: vector_double) -> Self

Converts to this type from the input type.
Source§

impl From<vector_float> for Simd<f32, 4>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_float) -> Self

Converts to this type from the input type.
Source§

impl From<vector_float> for Simd<f32, 4>

Available on s390x only.
Source§

fn from(simd: vector_float) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_char> for Simd<i8, 16>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_signed_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_char> for Simd<i8, 16>

Available on s390x only.
Source§

fn from(simd: vector_signed_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_int> for Simd<i32, 4>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_signed_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_int> for Simd<i32, 4>

Available on s390x only.
Source§

fn from(simd: vector_signed_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_long> for Simd<i64, 2>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_signed_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_long_long> for Simd<i64, 2>

Available on s390x only.
Source§

fn from(simd: vector_signed_long_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_short> for Simd<i16, 8>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_signed_short) -> Self

Converts to this type from the input type.
Source§

impl From<vector_signed_short> for Simd<i16, 8>

Available on s390x only.
Source§

fn from(simd: vector_signed_short) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_char> for Simd<u8, 16>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_unsigned_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_char> for Simd<u8, 16>

Available on s390x only.
Source§

fn from(simd: vector_unsigned_char) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_int> for Simd<u32, 4>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_unsigned_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_int> for Simd<u32, 4>

Available on s390x only.
Source§

fn from(simd: vector_unsigned_int) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_long> for Simd<u64, 2>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_unsigned_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_long_long> for Simd<u64, 2>

Available on s390x only.
Source§

fn from(simd: vector_unsigned_long_long) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_short> for Simd<u16, 8>

Available on PowerPC or PowerPC-64 only.
Source§

fn from(simd: vector_unsigned_short) -> Self

Converts to this type from the input type.
Source§

impl From<vector_unsigned_short> for Simd<u16, 8>

Available on s390x only.
Source§

fn from(simd: vector_unsigned_short) -> Self

Converts to this type from the input type.
Source§

impl<T: SimdElement, const N: usize> PartialEq for Simd<T, N>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: Copy + SimdElement, const N: usize> Copy for Simd<T, N>

Auto Trait Implementations§

§

impl<T, const N: usize> Freeze for Simd<T, N>
where T: Freeze,

§

impl<T, const N: usize> RefUnwindSafe for Simd<T, N>
where T: RefUnwindSafe,

§

impl<T, const N: usize> Send for Simd<T, N>
where T: Send,

§

impl<T, const N: usize> Sync for Simd<T, N>
where T: Sync,

§

impl<T, const N: usize> Unpin for Simd<T, N>
where T: Unpin,

§

impl<T, const N: usize> UnsafeUnpin for Simd<T, N>
where T: UnsafeUnpin,

§

impl<T, const N: usize> UnwindSafe for Simd<T, N>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> SizedTypeProperties for T

Source§

#[doc(hidden)]
const SIZE: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const ALIGN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const ALIGNMENT: Alignment = _

🔬This is a nightly-only experimental API. (ptr_alignment_type #102070)
Source§

#[doc(hidden)]
const IS_ZST: bool = _

🔬This is a nightly-only experimental API. (sized_type_properties)
true if this type requires no storage. false if its size is greater than zero. Read more
Source§

#[doc(hidden)]
const LAYOUT: Layout = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const MAX_SLICE_LEN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
The largest safe length for a [Self]. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> NonDrop for T
where T: Copy,

Source§

impl<T> Printable for T
where T: Copy + Debug,