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