Struct core_simd::simd::LaneCount

source ยท
pub struct LaneCount<const N: usize>;
๐Ÿ”ฌThis is a nightly-only experimental API. (portable_simd)
Expand description

Specifies the number of lanes in a SIMD vector as a type.

Implementationsยง

sourceยง

impl<const N: usize> LaneCount<N>

source

pub const BITMASK_LEN: usize = _

๐Ÿ”ฌThis is a nightly-only experimental API. (portable_simd)

The number of bytes in a bitmask with this many lanes.

Trait Implementationsยง

sourceยง

impl SupportedLaneCount for LaneCount<1>

sourceยง

impl SupportedLaneCount for LaneCount<10>

sourceยง

impl SupportedLaneCount for LaneCount<11>

sourceยง

impl SupportedLaneCount for LaneCount<12>

sourceยง

impl SupportedLaneCount for LaneCount<13>

sourceยง

impl SupportedLaneCount for LaneCount<14>

sourceยง

impl SupportedLaneCount for LaneCount<15>

sourceยง

impl SupportedLaneCount for LaneCount<16>

sourceยง

impl SupportedLaneCount for LaneCount<17>

sourceยง

impl SupportedLaneCount for LaneCount<18>

sourceยง

impl SupportedLaneCount for LaneCount<19>

sourceยง

impl SupportedLaneCount for LaneCount<2>

sourceยง

impl SupportedLaneCount for LaneCount<20>

sourceยง

impl SupportedLaneCount for LaneCount<21>

sourceยง

impl SupportedLaneCount for LaneCount<22>

sourceยง

impl SupportedLaneCount for LaneCount<23>

sourceยง

impl SupportedLaneCount for LaneCount<24>

sourceยง

impl SupportedLaneCount for LaneCount<25>

sourceยง

impl SupportedLaneCount for LaneCount<26>

sourceยง

impl SupportedLaneCount for LaneCount<27>

sourceยง

impl SupportedLaneCount for LaneCount<28>

sourceยง

impl SupportedLaneCount for LaneCount<29>

sourceยง

impl SupportedLaneCount for LaneCount<3>

sourceยง

impl SupportedLaneCount for LaneCount<30>

sourceยง

impl SupportedLaneCount for LaneCount<31>

sourceยง

impl SupportedLaneCount for LaneCount<32>

sourceยง

impl SupportedLaneCount for LaneCount<33>

sourceยง

impl SupportedLaneCount for LaneCount<34>

sourceยง

impl SupportedLaneCount for LaneCount<35>

sourceยง

impl SupportedLaneCount for LaneCount<36>

sourceยง

impl SupportedLaneCount for LaneCount<37>

sourceยง

impl SupportedLaneCount for LaneCount<38>

sourceยง

impl SupportedLaneCount for LaneCount<39>

sourceยง

impl SupportedLaneCount for LaneCount<4>

sourceยง

impl SupportedLaneCount for LaneCount<40>

sourceยง

impl SupportedLaneCount for LaneCount<41>

sourceยง

impl SupportedLaneCount for LaneCount<42>

sourceยง

impl SupportedLaneCount for LaneCount<43>

sourceยง

impl SupportedLaneCount for LaneCount<44>

sourceยง

impl SupportedLaneCount for LaneCount<45>

sourceยง

impl SupportedLaneCount for LaneCount<46>

sourceยง

impl SupportedLaneCount for LaneCount<47>

sourceยง

impl SupportedLaneCount for LaneCount<48>

sourceยง

impl SupportedLaneCount for LaneCount<49>

sourceยง

impl SupportedLaneCount for LaneCount<5>

sourceยง

impl SupportedLaneCount for LaneCount<50>

sourceยง

impl SupportedLaneCount for LaneCount<51>

sourceยง

impl SupportedLaneCount for LaneCount<52>

sourceยง

impl SupportedLaneCount for LaneCount<53>

sourceยง

impl SupportedLaneCount for LaneCount<54>

sourceยง

impl SupportedLaneCount for LaneCount<55>

sourceยง

impl SupportedLaneCount for LaneCount<56>

sourceยง

impl SupportedLaneCount for LaneCount<57>

sourceยง

impl SupportedLaneCount for LaneCount<58>

sourceยง

impl SupportedLaneCount for LaneCount<59>

sourceยง

impl SupportedLaneCount for LaneCount<6>

sourceยง

impl SupportedLaneCount for LaneCount<60>

sourceยง

impl SupportedLaneCount for LaneCount<61>

sourceยง

impl SupportedLaneCount for LaneCount<62>

sourceยง

impl SupportedLaneCount for LaneCount<63>

sourceยง

impl SupportedLaneCount for LaneCount<64>

sourceยง

impl SupportedLaneCount for LaneCount<7>

sourceยง

impl SupportedLaneCount for LaneCount<8>

sourceยง

impl SupportedLaneCount for LaneCount<9>

Auto Trait Implementationsยง

ยง

impl<const N: usize> Freeze for LaneCount<N>

ยง

impl<const N: usize> RefUnwindSafe for LaneCount<N>

ยง

impl<const N: usize> Send for LaneCount<N>

ยง

impl<const N: usize> Sync for LaneCount<N>

ยง

impl<const N: usize> Unpin for LaneCount<N>

ยง

impl<const N: usize> UnwindSafe for LaneCount<N>

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> 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, 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.