Skip to main content

Module shared

Module shared 

Source
Expand description

Helpers for working with slices of unsafe cells.

Structs§

SharedSlice
Represents a reference to a slice which may be shared among threads. This uses UnsafeCell to Uphold rust’s immutability gaurentees, but it is the responsibility of the user that the values at two different indices are not aliased improperly.