Expand description
§sync-ptr
Sync & Send wrappers for raw pointer’s in rust. To use add “use sync_ptr::*;” to your file, then you should be able to call my_ptr.as_sync_const() among others on any raw pointer to obtain a wrapped version of your raw pointer that is Sync/Send.
Structs§
- Wrapped const raw pointer that is Send but not Sync
- Wrapped mutable raw pointer that is Send but not Sync
- Wrapped const raw pointer that is Send+Sync
- Wrapped mutable raw pointer that is Send+Sync