Skip to main content

Aliasing

Trait Aliasing 

Source
pub trait Aliasing: Sealed { }
Expand description

The aliasing invariant of a Ptr.

All aliasing invariants must permit reading from the bytes of a pointer’s referent which are not covered by UnsafeCells.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§