pub struct LaneCount<const N: usize>;
🔬This is a nightly-only experimental API. (
portable_simd
)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> 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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>