Refactoring RsTypeKind::format_as_... methods.

After recent fixes for b/214244223, the supported constructor bindings
will only use `&mut` references for `__this` parameter.  Since `*mut`
will never appear in supported bindings, we can simplify
`format_as_this_param_for_constructor_thunk` function to only cover
references.  And as a consequence, we can rename this function into
`format_mut_ref_as_uninitialized`.

This CL also shortens the name of the (somewhat related)
`format_as_self_param_for_instance_method` function into
`format_as_self_param`.

PiperOrigin-RevId: 426223281
1 file changed
tree: fc4f7c64e85cd6079cefc4be0a941c84a5dd0a6f
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. CODE_OF_CONDUCT
  4. CONTRIBUTING
  5. LICENSE
  6. 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.