Module cxx::memory

source · []
Expand description

Less used details of UniquePtr and SharedPtr.

The pointer types themselves are exposed at the crate root.

Re-exports

pub use cxx::SharedPtr;
pub use cxx::UniquePtr;

Traits

Trait bound for types which may be used as the T inside of a SharedPtr<T> in generic code.

Trait bound for types which may be used as the T inside of a UniquePtr<T> in generic code.

Trait bound for types which may be used as the T inside of a WeakPtr<T> in generic code.