Module memory

Source
Expand description

Less used details of UniquePtr and SharedPtr.

The pointer types themselves are exposed at the crate root.

Structs§

SharedPtr
Binding to C++ std::shared_ptr<T>.
UniquePtr
Binding to C++ std::unique_ptr<T, std::default_delete<T>>.

Traits§

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