Lines Matching refs:rust
1 {{#title rust::Str — Rust ♡ C++}}
2 # rust::Str
7 // rust/cxx.h
12 # namespace rust {
54 # } // namespace rust
59 **Be aware that rust::Str behaves like &str i.e. it is a borrow!** C++
62 Just to reiterate: &str is rust::Str. Do not try to write &str as `const
63 rust::Str &`. A language-level C++ reference is not able to capture the fat
74 ```rust,noplayground
103 #include "rust/cxx.h"
105 void c(rust::Str greeting);
114 void c(rust::Str greeting) {