Reference

Trait Reference 

Source
pub trait Reference: Aliasing + Sealed { }
Expand description

An Aliasing invariant which is either Shared or Exclusive.

§Safety

Given A: Reference, callers may assume that either A = Shared or A = Exclusive.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§