Add Copy bound to SIMD traits
This commit is contained in:
parent
528bc8593a
commit
62d3b2e39c
@ -5,7 +5,7 @@
|
||||
};
|
||||
|
||||
/// Operations on SIMD vectors of floats.
|
||||
pub trait SimdFloat: Sized + Sealed {
|
||||
pub trait SimdFloat: Copy + Sealed {
|
||||
/// Mask type used for manipulating this SIMD vector type.
|
||||
type Mask;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
};
|
||||
|
||||
/// Operations on SIMD vectors of signed integers.
|
||||
pub trait SimdInt: Sized + Sealed {
|
||||
pub trait SimdInt: Copy + Sealed {
|
||||
/// Mask type used for manipulating this SIMD vector type.
|
||||
type Mask;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
use crate::simd::{intrinsics, LaneCount, Simd, SupportedLaneCount};
|
||||
|
||||
/// Operations on SIMD vectors of unsigned integers.
|
||||
pub trait SimdUint: Sized + Sealed {
|
||||
pub trait SimdUint: Copy + Sealed {
|
||||
/// Scalar type contained by this SIMD vector type.
|
||||
type Scalar;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user