| 1 | // Copyright 2025 the Fearless_SIMD Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 OR MIT |
| 3 | |
| 4 | /// A token for fallback SIMD. |
| 5 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)] |
| 6 | pub struct Fallbackrust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/Fallback# { |
| 7 | _privaterust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/Fallback#_private.: (), |
| 8 | } |
| 9 | |
| 10 | impl Fallbackrust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/Fallback# { |
| 11 | /// Create a SIMD token. |
| 12 | #[inline] |
| 13 | pub const fn newrust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/impl#[Fallback]new().() -> Selfrust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/impl#[Fallback] { |
| 14 | Selfrust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/impl#[Fallback] { _privaterust-analyzer cargo fearless_simd 0.4.1 core_arch/fallback/Fallback#_private.: () } |
| 15 | } |
| 16 | } |