pub trait WithinUniquePtr {
type Inner: UniquePtrTarget + MakeCppStorage;
// Required method
fn within_unique_ptr(self) -> UniquePtr<Self::Inner> ⓘ;
}Expand description
Provides utility functions to emplace any moveit::New into a
cxx::UniquePtr. Automatically imported by the autocxx prelude
and implemented by any (autocxx-related) moveit::New.
Required Associated Types§
type Inner: UniquePtrTarget + MakeCppStorage
Required Methods§
Sourcefn within_unique_ptr(self) -> UniquePtr<Self::Inner> ⓘ
fn within_unique_ptr(self) -> UniquePtr<Self::Inner> ⓘ
Create this item within a cxx::UniquePtr.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".