prelude.rs - source
Description: Source of the Rust file `library/core/src/../../portable-simd/crates/core_simd/src/simd/prelude.rs`.

#
core/portable-simd/crates/core_simd/src/simd/
prelude.rs

    1//! The portable SIMD prelude.
    2//!
    3//! Includes important traits and types to be imported with a glob:
    4//! ```ignore
    5//! use std::simd::prelude::*;
    6//! ```
    7
    8#[doc(no_inline)]
    9pub use super::{
    10    Mask, Simd,
    11    cmp::{SimdOrd, SimdPartialEq, SimdPartialOrd},
    12    num::{SimdFloat, SimdInt, SimdUint},
    13    ptr::{SimdConstPtr, SimdMutPtr},
    14    simd_swizzle,
    15};
    16
    17#[rustfmt::skip]
    18#[doc(no_inline)]
    19pub use super::{f32x1, f32x2, f32x4, f32x8, f32x16, f32x32, f32x64};
    20
    21#[rustfmt::skip]
    22#[doc(no_inline)]
    23pub use super::{f64x1, f64x2, f64x4, f64x8, f64x16, f64x32, f64x64};
    24
    25#[rustfmt::skip]
    26#[doc(no_inline)]
    27pub use super::{i8x1, i8x2, i8x4, i8x8, i8x16, i8x32, i8x64};
    28
    29#[rustfmt::skip]
    30#[doc(no_inline)]
    31pub use super::{i16x1, i16x2, i16x4, i16x8, i16x16, i16x32, i16x64};
    32
    33#[rustfmt::skip]
    34#[doc(no_inline)]
    35pub use super::{i32x1, i32x2, i32x4, i32x8, i32x16, i32x32, i32x64};
    36
    37#[rustfmt::skip]
    38#[doc(no_inline)]
    39pub use super::{i64x1, i64x2, i64x4, i64x8, i64x16, i64x32, i64x64};
    40
    41#[rustfmt::skip]
    42#[doc(no_inline)]
    43pub use super::{isizex1, isizex2, isizex4, isizex8, isizex16, isizex32, isizex64};
    44
    45#[rustfmt::skip]
    46#[doc(no_inline)]
    47pub use super::{u8x1, u8x2, u8x4, u8x8, u8x16, u8x32, u8x64};
    48
    49#[rustfmt::skip]
    50#[doc(no_inline)]
    51pub use super::{u16x1, u16x2, u16x4, u16x8, u16x16, u16x32, u16x64};
    52
    53#[rustfmt::skip]
    54#[doc(no_inline)]
    55pub use super::{u32x1, u32x2, u32x4, u32x8, u32x16, u32x32, u32x64};
    56
    57#[rustfmt::skip]
    58#[doc(no_inline)]
    59pub use super::{u64x1, u64x2, u64x4, u64x8, u64x16, u64x32, u64x64};
    60
    61#[rustfmt::skip]
    62#[doc(no_inline)]
    63pub use super::{usizex1, usizex2, usizex4, usizex8, usizex16, usizex32, usizex64};
    64
    65#[rustfmt::skip]
    66#[doc(no_inline)]
    67pub use super::{mask8x1, mask8x2, mask8x4, mask8x8, mask8x16, mask8x32, mask8x64};
    68
    69#[rustfmt::skip]
    70#[doc(no_inline)]
    71pub use super::{mask16x1, mask16x2, mask16x4, mask16x8, mask16x16, mask16x32, mask16x64};
    72
    73#[rustfmt::skip]
    74#[doc(no_inline)]
    75pub use super::{mask32x1, mask32x2, mask32x4, mask32x8, mask32x16, mask32x32, mask32x64};
    76
    77#[rustfmt::skip]
    78#[doc(no_inline)]
    79pub use super::{mask64x1, mask64x2, mask64x4, mask64x8, mask64x16, mask64x32, mask64x64};
    80
    81#[rustfmt::skip]
    82#[doc(no_inline)]
    83pub use super::{masksizex1, masksizex2, masksizex4, masksizex8, masksizex16, masksizex32, masksizex64};