Public API and docs

This commit is contained in:
2023-05-26 15:23:15 +01:00
parent 3c1a6e2be2
commit fdf18e6ff8
99 changed files with 503 additions and 406 deletions

View File

@@ -2,10 +2,10 @@
use crate::foreign::Atomic;
/// A macro that generates the straightforward, syntactically invariant part of
/// implementing [Atomic]. Implemented fns are [Atomic::as_any],
/// [Atomic::definitely_eq] and [Atomic::hash].
/// implementing [Atomic].
///
/// It depends on [Eq] and [Hash]
/// Currently implements
/// - [Atomic::as_any]
#[macro_export]
macro_rules! atomic_defaults {
() => {