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§

boxed
Aliasable Box.
prelude
Export of all types enabled.
string
Aliasable String.
vec
Aliasable Vec.

Structs§

AliasableMut
Basic aliasable alternative to &mut.

Traits§

AliasableDeref
Marker trait for a pointer type that is allowed to have its pointee aliased (except when dropped).
StableDeref
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.