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§
Trait Implementations§
impl SupportedLaneCount for LaneCount<1>
impl SupportedLaneCount for LaneCount<16>
impl SupportedLaneCount for LaneCount<2>
impl SupportedLaneCount for LaneCount<32>
impl SupportedLaneCount for LaneCount<4>
impl SupportedLaneCount for LaneCount<64>
impl SupportedLaneCount for LaneCount<8>
Auto Trait Implementations§
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