pub struct NeonToken { /* private fields */ }Available on non-AArch64 only.
Expand description
Stub for NEON token (not available on this architecture).
Implementations§
Source§impl NeonToken
impl NeonToken
Sourcepub fn dangerously_disable_token_process_wide(
_disabled: bool,
) -> Result<(), CompileTimeGuaranteedError>
pub fn dangerously_disable_token_process_wide( _disabled: bool, ) -> Result<(), CompileTimeGuaranteedError>
This token is not available on this architecture.
Sourcepub fn manually_disabled() -> Result<bool, CompileTimeGuaranteedError>
pub fn manually_disabled() -> Result<bool, CompileTimeGuaranteedError>
This token is not available on this architecture.
Trait Implementations§
Source§impl IntoConcreteToken for NeonToken
impl IntoConcreteToken for NeonToken
Source§fn as_x64v1(self) -> Option<X64V1Token>
fn as_x64v1(self) -> Option<X64V1Token>
Try to cast to X64V1Token.
Source§fn as_x64v2(self) -> Option<X64V2Token>
fn as_x64v2(self) -> Option<X64V2Token>
Try to cast to X64V2Token.
Source§fn as_x64_crypto(self) -> Option<X64CryptoToken>
fn as_x64_crypto(self) -> Option<X64CryptoToken>
Try to cast to X64CryptoToken.
Source§fn as_x64v3(self) -> Option<X64V3Token>
fn as_x64v3(self) -> Option<X64V3Token>
Try to cast to X64V3Token.
Source§fn as_x64v4(self) -> Option<X64V4Token>
fn as_x64v4(self) -> Option<X64V4Token>
Try to cast to X64V4Token.
Source§fn as_x64v4x(self) -> Option<X64V4xToken>
fn as_x64v4x(self) -> Option<X64V4xToken>
Try to cast to X64V4xToken.
Source§fn as_avx512_fp16(self) -> Option<Avx512Fp16Token>
fn as_avx512_fp16(self) -> Option<Avx512Fp16Token>
Try to cast to Avx512Fp16Token.
Source§fn as_neon_aes(self) -> Option<NeonAesToken>
fn as_neon_aes(self) -> Option<NeonAesToken>
Try to cast to NeonAesToken.
Source§fn as_neon_sha3(self) -> Option<NeonSha3Token>
fn as_neon_sha3(self) -> Option<NeonSha3Token>
Try to cast to NeonSha3Token.
Source§fn as_neon_crc(self) -> Option<NeonCrcToken>
fn as_neon_crc(self) -> Option<NeonCrcToken>
Try to cast to NeonCrcToken.
Source§fn as_arm_v2(self) -> Option<Arm64V2Token>
fn as_arm_v2(self) -> Option<Arm64V2Token>
Try to cast to Arm64V2Token.
Source§fn as_arm_v3(self) -> Option<Arm64V3Token>
fn as_arm_v3(self) -> Option<Arm64V3Token>
Try to cast to Arm64V3Token.
Source§fn as_wasm128(self) -> Option<Wasm128Token>
fn as_wasm128(self) -> Option<Wasm128Token>
Try to cast to Wasm128Token.
Source§fn as_scalar(self) -> Option<ScalarToken>
fn as_scalar(self) -> Option<ScalarToken>
Try to cast to ScalarToken.
Source§impl SimdToken for NeonToken
impl SimdToken for NeonToken
Source§const TARGET_FEATURES: &'static str = "neon"
const TARGET_FEATURES: &'static str = "neon"
Comma-delimited target features (e.g.,
"sse,sse2,avx2,fma,bmi1,bmi2,f16c,lzcnt"). Read moreSource§const ENABLE_TARGET_FEATURES: &'static str = "-Ctarget-feature=+neon"
const ENABLE_TARGET_FEATURES: &'static str = "-Ctarget-feature=+neon"
RUSTFLAGS to enable these features at compile time. Read more
Source§const DISABLE_TARGET_FEATURES: &'static str = "-Ctarget-feature=-neon"
const DISABLE_TARGET_FEATURES: &'static str = "-Ctarget-feature=-neon"
RUSTFLAGS to disable these features at compile time. Read more
Source§fn compiled_with() -> Option<bool>
fn compiled_with() -> Option<bool>
Check if this binary was compiled with the required target features enabled. Read more
Source§fn summon() -> Option<Self>
fn summon() -> Option<Self>
Attempt to create a token with runtime feature detection. Read more
Source§unsafe fn forge_token_dangerously() -> Self
unsafe fn forge_token_dangerously() -> Self
👎Deprecated since 0.5.0: Pass tokens through from summon() instead of forging
Create a token without any checks. Read more
Source§fn guaranteed() -> Option<bool>
fn guaranteed() -> Option<bool>
👎Deprecated since 0.6.0: Use compiled_with() instead
Deprecated alias for
compiled_with().impl Copy for NeonToken
impl Has128BitSimd for NeonToken
impl HasNeon for NeonToken
impl Sealed for NeonToken
Auto Trait Implementations§
impl Freeze for NeonToken
impl RefUnwindSafe for NeonToken
impl Send for NeonToken
impl Sync for NeonToken
impl Unpin for NeonToken
impl UnsafeUnpin for NeonToken
impl UnwindSafe for NeonToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more