pub enum Which {
First(usize),
Second(usize),
}
🔬This is a nightly-only experimental API. (
portable_simd
#86656)Expand description
将 lane 索引指定为两个 SIMD vectors 之一。
这是 Swizzle2 和辅助宏 (如 simd_swizzle) 的输入类型。
Variants§
First(usize)
🔬This is a nightly-only experimental API. (
portable_simd
#86656)第一个输入 SIMD vector 中 lane 的索引。
Second(usize)
🔬This is a nightly-only experimental API. (
portable_simd
#86656)第二个输入 SIMD vector 中 lane 的索引。
Trait Implementations§
source§impl PartialOrd<Which> for Which
impl PartialOrd<Which> for Which
impl Copy for Which
impl Eq for Which
impl StructuralEq for Which
impl StructuralPartialEq for Which
Auto Trait Implementations§
impl RefUnwindSafe for Which
impl Send for Which
impl Sync for Which
impl Unpin for Which
impl UnwindSafe for Which
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
从拥有的值中借用。 Read more