pub trait SupportedLaneCount: Sealed {
#[doc(hidden)] type BitMask: Copy + Default + AsRef<[u8]> + AsMut<[u8]>;
}
๐ฌThis is a nightly-only experimental API. (
portable_simd
#86656)Expand description
Statically guarantees that a lane count is marked as supported.
This trait is sealed: the list of implementors below is total.
Users do not have the ability to mark additional LaneCount<N>
values as supported.
Only SIMD vectors with supported lane counts are constructable.
Required Associated Typesยง
#[doc(hidden)] type BitMask: Copy + Default + AsRef<[u8]> + AsMut<[u8]>
๐ฌThis is a nightly-only experimental API. (
portable_simd
#86656)