Macro zerocopy::simd::simd_arch_mod

source ยท
macro_rules! simd_arch_mod {
    (#[cfg $cfg:tt] $arch:ident, $mod:ident, $($typ:ident),*) => { ... };
}
Expand description

Defines a module which implements TryFromBytes, FromZeroes, FromBytes, and AsBytes for a set of types from a module in core::arch.

$arch is both the name of the defined module and the name of the module in core::arch, and $typ is the list of items from that module to implement FromZeroes, FromBytes, and AsBytes for.