macro_rules! simd_arch_mod {
($(#[cfg $cfg:tt])* $(#[cfg_attr $cfg_attr:tt])? $arch:ident, $mod:ident, $($typ:ident),*) => { ... };
}
Expand description
Defines a module which implements TryFromBytes
, FromZeros
,
FromBytes
, and IntoBytes
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 FromZeros
, FromBytes
, and IntoBytes
for.