Store an `RsTypeKind` instead of a `TokenStream` in `CtorNew`.

The former is now just a structured version of the latter, so better to preserve structure. For example, this makes it potentially easier later for CtorNew to have tuples of arguments, as we don't need to reconstruct the RsTypeKind in the caller, but can use whatever is returned as the args for CtorNew.

Discussed a bit in chat (https://chat.google.com/room/AAAAImO--WA/tSx3n_xLbSs), seems uncontroversial. :)))

PiperOrigin-RevId: 439912565
1 file changed
tree: 8382902c70189a5ea44e1dc8e1d3c2536b8c8120
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. BUILD
  4. CODE_OF_CONDUCT
  5. CONTRIBUTING
  6. LICENSE
  7. README.md
README.md

Crubit: C++/Rust Bidirectional Interop Tool

Extremely experimental interop tooling for C++ and Rust.

Please don‘t use, this is an experiment and we don’t yet know where will it take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.