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ยง
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ยง
Sourceยงimpl<S> AssignWithType for S
impl<S> AssignWithType for S
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
impl<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
Sourceยงtype Val = <C as Collection>::Val
type Val = <C as Collection>::Val
The type of values stored in the collection. This might be distinct from
Entry
in complex collections.
For example, in a HashMap
, while Entry
might be a ( key, value ) tuple, Val
might only be the value part.Sourceยงfn entry_to_val(self) -> <E as EntryToVal<C>>::Val
fn entry_to_val(self) -> <E as EntryToVal<C>>::Val
Converts an entry into a value representation specific to the type of collection. This conversion is crucial
for handling operations on entries, especially when they need to be treated or accessed as individual values,
such as retrieving the value part from a key-value pair in a hash map.
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self> โ
fn instrument(self, span: Span) -> Instrumented<Self> โ
Sourceยงfn in_current_span(self) -> Instrumented<Self> โ
fn in_current_span(self) -> Instrumented<Self> โ
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Sourceยงimpl<Initial, Error, Final> TransitiveTryFrom<Error, Initial> for Final
impl<Initial, Error, Final> TransitiveTryFrom<Error, Initial> for Final
Sourceยงimpl<Error, Final, Initial> TransitiveTryInto<Error, Final> for Initial
impl<Error, Final, Initial> TransitiveTryInto<Error, Final> for Initial
Sourceยงimpl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
impl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
Sourceยงfn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
fn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
Invokes the val_to_entry
function of the CollectionValToEntry
trait to convert the value to an entry.
Sourceยงtype Entry = <C as CollectionValToEntry<Val>>::Entry
type Entry = <C as CollectionValToEntry<Val>>::Entry
Represents the type of entry that corresponds to the value within the collection.