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<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<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W), ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
Source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X), ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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 more