Skip to main content

Crate aliasable

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§

boxedalloc
Aliasable Box.
prelude
Export of all types enabled.
stringalloc
Aliasable String.
vecalloc
Aliasable Vec.

Structs§

AliasableMut
Basic aliasable alternative to &mut.

Traits§

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