Function atomic_swap

pub(in ::sync::atomic) const unsafe fn atomic_swap<T: Copy>(dst: *mut T, val: T, order: Ordering) -> T