pub struct LaneCount<const LANES: usize>;
🔬 This is a nightly-only experimental API. (
portable_simd
)Expand description
A type representing a vector lane count.
Implementations
sourceimpl<const LANES: usize> LaneCount<LANES>
impl<const LANES: usize> LaneCount<LANES>
sourcepub const BITMASK_LEN: usize
🔬 This is a nightly-only experimental API. (portable_simd
)
pub const BITMASK_LEN: usize
🔬 This is a nightly-only experimental API. (
portable_simd
)The number of bytes in a bitmask with this many lanes.
Trait Implementations
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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