Add Copy bound to SIMD traits

This commit is contained in:
Caleb Zulawski 2022-04-16 16:17:43 -04:00
parent 528bc8593a
commit 62d3b2e39c
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;