Home
last modified time | relevance | path

Searched refs:let_cxx_string (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/cxx/tests/
Dcxx_string.rs1 use cxx::{let_cxx_string, CxxString};
6 let_cxx_string!(s = "..."); in test_async_cxx_string()
19 let_cxx_string!(s = "x\"y\'z"); in test_debug()
/third_party/rust/crates/cxx/book/src/binding/
Dcxxstring.md18 [`let_cxx_string!`] macro which will pin the string properly. The code below
21 [`let_cxx_string!`]: https://docs.rs/cxx/*/cxx/macro.let_cxx_string.html
32 use cxx::let_cxx_string;
65 let_cxx_string!(key = "name");
/third_party/rust/crates/cxx/src/
Dcxx_string.rs81 macro_rules! let_cxx_string { macro
86 let_cxx_string => unsafe { cxx_stack_string.init(let_cxx_string) },