macro_rules! unsafe_impl_transmute_from_for_atomic {
($($($tyvar:ident)? => $atomic:ty [$prim:ty]),*) => { ... };
}
Expand description
Implements TransmuteFrom
for $atomic
, $prim
, and
UnsafeCell<$prim>
.
ยงSafety
$atomic
must have the same size and bit validity as $prim
.