[][src]Type Definition maybe_sync::AtomicPtr

type AtomicPtr<T> = Cell<*mut T>;

A raw pointer type which can be safely shared between threads when "sync" feature is enabled.
A raw pointer type with non-threadsafe interior mutability when "sync" feature is not enabled.

This type has the same in-memory representation as a isize.