Crate aliasable

Source
Expand description

Basic aliasable (non core::ptr::Unique) types.

§Why?

Used for escaping noalias when multiple raw pointers may point to the same data.

Modules§

Structs§

Traits§

  • Marker trait for a pointer type that is allowed to have its pointee aliased (except when dropped).
  • An unsafe marker trait for types that deref to a stable address, even when moved. For example, this is implemented by Box, Vec, Rc, Arc and String, among others. Even when a Box is moved, the underlying storage remains at a fixed location.