Macro tokenlock::impl_singleton_token_factory[][src]

macro_rules! impl_singleton_token_factory {
    ($ty:ty $(,)*) => { ... };
}

Implement SingletonTokenFactory on a given type.

The generated implementation uses AtomicBool and therefore might not compile on some targets.