Skip to content

Commit 88d0579

Browse files
RustyYatognzlbg
authored andcommitted
Implement the sealed trait pattern from #258
This implements the solution proposed in #258 to allow generic usage of `Simd<T>` without comprimising the safety of `Simd<T>`.
1 parent 5eb82c2 commit 88d0579

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ mod api;
255255
mod codegen;
256256
mod sealed;
257257

258+
pub use crate::sealed::{Simd as SimdVector, Shuffle, SimdArray, Mask};
259+
258260
/// Packed SIMD vector type.
259261
///
260262
/// # Examples

0 commit comments

Comments
 (0)