Expand description
Less used details of UniquePtr
and SharedPtr
.
The pointer types themselves are exposed at the crate root.
Structs§
- Shared
Ptr - Binding to C++
std::shared_ptr<T>
. - Unique
Ptr - Binding to C++
std::unique_ptr<T, std::default_delete<T>>
.
Traits§
- Shared
PtrTarget - Trait bound for types which may be used as the
T
inside of aSharedPtr<T>
in generic code. - Unique
PtrTarget - Trait bound for types which may be used as the
T
inside of aUniquePtr<T>
in generic code. - Weak
PtrTarget - Trait bound for types which may be used as the
T
inside of aWeakPtr<T>
in generic code.