[go: up one dir, main page]

LaneCount

Struct LaneCount 

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

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

Implementationsยง

ยง

impl<const N: usize> LaneCount<N>

pub const BITMASK_LEN: usize

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

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

Trait Implementationsยง

ยง

impl SupportedLaneCount for LaneCount<1>

ยง

impl SupportedLaneCount for LaneCount<10>

ยง

impl SupportedLaneCount for LaneCount<11>

ยง

impl SupportedLaneCount for LaneCount<12>

ยง

impl SupportedLaneCount for LaneCount<13>

ยง

impl SupportedLaneCount for LaneCount<14>

ยง

impl SupportedLaneCount for LaneCount<15>

ยง

impl SupportedLaneCount for LaneCount<16>

ยง

impl SupportedLaneCount for LaneCount<17>

ยง

impl SupportedLaneCount for LaneCount<18>

ยง

impl SupportedLaneCount for LaneCount<19>

ยง

impl SupportedLaneCount for LaneCount<2>

ยง

impl SupportedLaneCount for LaneCount<20>

ยง

impl SupportedLaneCount for LaneCount<21>

ยง

impl SupportedLaneCount for LaneCount<22>

ยง

impl SupportedLaneCount for LaneCount<23>

ยง

impl SupportedLaneCount for LaneCount<24>

ยง

impl SupportedLaneCount for LaneCount<25>

ยง

impl SupportedLaneCount for LaneCount<26>

ยง

impl SupportedLaneCount for LaneCount<27>

ยง

impl SupportedLaneCount for LaneCount<28>

ยง

impl SupportedLaneCount for LaneCount<29>

ยง

impl SupportedLaneCount for LaneCount<3>

ยง

impl SupportedLaneCount for LaneCount<30>

ยง

impl SupportedLaneCount for LaneCount<31>

ยง

impl SupportedLaneCount for LaneCount<32>

ยง

impl SupportedLaneCount for LaneCount<33>

ยง

impl SupportedLaneCount for LaneCount<34>

ยง

impl SupportedLaneCount for LaneCount<35>

ยง

impl SupportedLaneCount for LaneCount<36>

ยง

impl SupportedLaneCount for LaneCount<37>

ยง

impl SupportedLaneCount for LaneCount<38>

ยง

impl SupportedLaneCount for LaneCount<39>

ยง

impl SupportedLaneCount for LaneCount<4>

ยง

impl SupportedLaneCount for LaneCount<40>

ยง

impl SupportedLaneCount for LaneCount<41>

ยง

impl SupportedLaneCount for LaneCount<42>

ยง

impl SupportedLaneCount for LaneCount<43>

ยง

impl SupportedLaneCount for LaneCount<44>

ยง

impl SupportedLaneCount for LaneCount<45>

ยง

impl SupportedLaneCount for LaneCount<46>

ยง

impl SupportedLaneCount for LaneCount<47>

ยง

impl SupportedLaneCount for LaneCount<48>

ยง

impl SupportedLaneCount for LaneCount<49>

ยง

impl SupportedLaneCount for LaneCount<5>

ยง

impl SupportedLaneCount for LaneCount<50>

ยง

impl SupportedLaneCount for LaneCount<51>

ยง

impl SupportedLaneCount for LaneCount<52>

ยง

impl SupportedLaneCount for LaneCount<53>

ยง

impl SupportedLaneCount for LaneCount<54>

ยง

impl SupportedLaneCount for LaneCount<55>

ยง

impl SupportedLaneCount for LaneCount<56>

ยง

impl SupportedLaneCount for LaneCount<57>

ยง

impl SupportedLaneCount for LaneCount<58>

ยง

impl SupportedLaneCount for LaneCount<59>

ยง

impl SupportedLaneCount for LaneCount<6>

ยง

impl SupportedLaneCount for LaneCount<60>

ยง

impl SupportedLaneCount for LaneCount<61>

ยง

impl SupportedLaneCount for LaneCount<62>

ยง

impl SupportedLaneCount for LaneCount<63>

ยง

impl SupportedLaneCount for LaneCount<64>

ยง

impl SupportedLaneCount for LaneCount<7>

ยง

impl SupportedLaneCount for LaneCount<8>

ยง

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ยง

ยง

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

ยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
ยง

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

ยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
ยง

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

ยง

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

Mutably borrows from an owned value. Read more
ยง

impl<T> From<T> for T

ยง

fn from(t: T) -> T

Returns the argument unchanged.

ยง

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

ยง

fn into(self) -> U

Calls U::from(self).

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

ยง

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

ยง

type Error = Infallible

The type returned in the event of a conversion error.
ยง

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

Performs the conversion.
ยง

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

ยง

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

The type returned in the event of a conversion error.
ยง

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

Performs the conversion.