File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -400,39 +400,3 @@ impl Sealed for f64 {}
400
400
unsafe impl SimdElement for f64 {
401
401
type Mask = i64 ;
402
402
}
403
-
404
- /// A representation of a vector as an "array" with indices, implementing
405
- /// operations applicable to any vector type based solely on "having lanes",
406
- /// and describing relationships between vector and scalar types.
407
- pub trait Vector : sealed:: Sealed {
408
- /// The scalar type in every lane of this vector type.
409
- type Scalar : Copy + Sized ;
410
-
411
- /// The number of lanes for this vector.
412
- const LANES : usize ;
413
-
414
- /// Generates a SIMD vector with the same value in every lane.
415
- #[ must_use]
416
- fn splat ( val : Self :: Scalar ) -> Self ;
417
- }
418
-
419
- impl < Element , const LANES : usize > Sealed for Simd < Element , LANES >
420
- where
421
- LaneCount < LANES > : SupportedLaneCount ,
422
- Element : SimdElement ,
423
- {
424
- }
425
-
426
- impl < Element , const LANES : usize > Vector for Simd < Element , LANES >
427
- where
428
- LaneCount < LANES > : SupportedLaneCount ,
429
- Element : SimdElement ,
430
- {
431
- type Scalar = Element ;
432
- const LANES : usize = LANES ;
433
-
434
- #[ inline]
435
- fn splat ( val : Self :: Scalar ) -> Self {
436
- Self :: splat ( val)
437
- }
438
- }
You can’t perform that action at this time.
0 commit comments