Crate sync_ptr

Source
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§

SendConstPtr
Wrapped const raw pointer that is Send but not Sync
SendMutPtr
Wrapped mutable raw pointer that is Send but not Sync
SyncConstPtr
Wrapped const raw pointer that is Send+Sync
SyncMutPtr
Wrapped mutable raw pointer that is Send+Sync

Traits§

FromConstPtr
FromMutPtr