You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a situation where there's a fairly complex C++ enum (below) I wish to be able to return to Rust as Opaque, but by value. IOW, I'd like to mark the type as cxx::kind::Trivial, but don't want a) to duplicate the definition as a shared type, or b) wrap it in a UniquePtr. Is this at all possible with the current cxx?
I have a situation where there's a fairly complex C++ enum (below) I wish to be able to return to Rust as Opaque, but by value. IOW, I'd like to mark the type as
cxx::kind::Trivial
, but don't want a) to duplicate the definition as a shared type, or b) wrap it in aUniquePtr
. Is this at all possible with the current cxx?enum class Type
The text was updated successfully, but these errors were encountered: