You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
257 B
Rust
15 lines
257 B
Rust
2 years ago
|
use crate::impl_typemap;
|
||
|
use std::any::Any;
|
||
|
|
||
|
impl_typemap!(
|
||
|
/// A typemap that is Send and Sync
|
||
|
SendSyncTypeMap,
|
||
|
SendSyncTypeMapKey,
|
||
|
Any,
|
||
|
Send,
|
||
|
Sync
|
||
|
);
|
||
|
|
||
|
unsafe impl Send for SendSyncTypeMap {}
|
||
|
unsafe impl Sync for SendSyncTypeMap {}
|