Skip to main content

impl_abstract_arc

Macro impl_abstract_arc 

Source
macro_rules! impl_abstract_arc {
    ($name:ident, $wrapper_vis:vis static $wrapper:ident = [$($uuid:expr),* $(,)?]) => { ... };
}
Expand description

Generates PartialEq, Eq, PartialOrd, Ord, Hash, impl_no_pack!, and the LazyLock<AbstractWrapper<T>> static for an abstract value type whose identity is determined by Arc::as_ptr(&self.inner).