pub trait ToUniquePtr {
    type CppType;

    fn to_unique_ptr(self) -> UniquePtr<Self::CppType>
    where
        Self::CppType: UniquePtrTarget
; }

Required Associated Types

Required Methods

Implementations on Foreign Types

Retrieve the UniquePtr to the Qt QStringCpp of this Rust String so that this object can be passed back to C++.

Retrieve the UniquePtr to the Qt QStringCpp of this Rust &str so that this object can be passed back to C++.

Implementors