rustmax::cxx

Module memory

Source
Expand description

Less used details of UniquePtr and SharedPtr.

The pointer types themselves are exposed at the crate root.

Structs§

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

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.