pub struct LaneCount<const LANES: 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 LANES: usize> RefUnwindSafe for LaneCount<LANES>
impl<const LANES: usize> Send for LaneCount<LANES>
impl<const LANES: usize> Sync for LaneCount<LANES>
impl<const LANES: usize> Unpin for LaneCount<LANES>
impl<const LANES: usize> UnwindSafe for LaneCount<LANES>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more