Struct core::core_simd::lane_count::LaneCount
source · 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§
source§impl SupportedLaneCount for LaneCount<1>
impl SupportedLaneCount for LaneCount<1>
source§impl SupportedLaneCount for LaneCount<16>
impl SupportedLaneCount for LaneCount<16>
source§impl SupportedLaneCount for LaneCount<2>
impl SupportedLaneCount for LaneCount<2>
source§impl SupportedLaneCount for LaneCount<32>
impl SupportedLaneCount for LaneCount<32>
source§impl SupportedLaneCount for LaneCount<4>
impl SupportedLaneCount for LaneCount<4>
source§impl SupportedLaneCount for LaneCount<64>
impl SupportedLaneCount for LaneCount<64>
source§impl SupportedLaneCount for LaneCount<8>
impl SupportedLaneCount for LaneCount<8>
impl<const LANES: usize> Sealed for LaneCount<LANES>
Auto Trait Implementations§
impl<const LANES: usize> Freeze for LaneCount<LANES>
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§
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