rkyv/impls/core/with/atomic/_macros.rs
1macro_rules! impl_serialize_with_atomic_load {
2 ($atomic:ty) => {
3 impl<S, SO> $crate::with::SerializeWith<$atomic, S>
4 for $crate::with::AtomicLoad<SO>
5 where
6 S: $crate::rancor::Fallible + ?Sized,
7 SO: $crate::impls::core::with::atomic::LoadOrdering,
8 {
9 fn serialize_with(
10 _: &$atomic,
11 _: &mut S,
12 ) -> Result<Self::Resolver, S::Error> {
13 Ok(())
14 }
15 }
16 };
17}