x86-simd 0.2.2

Safe interfaces to x86 and x86_64 SIMD intrinsics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Marker trait to indicate that a trait is not to be implemented outside of this crate.

/// Marker trait to indicate that a trait is not to be implemented outside of this crate.
#[allow(unused)]
pub(crate) trait Sealed {}

macro_rules! impl_sealed {
    ( $($t:ty)* ) => {
        $(
            impl $crate::sealed::Sealed for $t {}
        )*
    };
}

impl_sealed!( u8 i8 u16 i16 u32 i32 u64 i64 u128 i128 f32 f64 );