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§

Required Methods§

source

fn within_unique_ptr(self) -> UniquePtr<Self::Inner>

Create this item within a cxx::UniquePtr.

Implementors§

source§

impl<N, T> WithinUniquePtr for Nwhere N: New<Output = T>, T: UniquePtrTarget + MakeCppStorage,

§

type Inner = T