Lines Matching refs:rust_name
82 std::string rust_name{"crate::mangled::"}; in GetRawRustName() local
84 rust_name += StringPrintf("_%zd_%s", component.size(), component.c_str()); in GetRawRustName()
86 return rust_name; in GetRawRustName()
155 std::string rust_name; in RustNameOf() local
164 rust_name = GetRustName(type, typenames, element_mode); in RustNameOf()
165 if (type.IsNullable() && rust_name == "String") { in RustNameOf()
169 rust_name = "Option<" + rust_name + ">"; in RustNameOf()
172 rust_name = "[" + rust_name + "]"; in RustNameOf()
174 rust_name = "Vec<" + rust_name + ">"; in RustNameOf()
177 rust_name = GetRustName(type, typenames, mode); in RustNameOf()
183 rust_name = "&" + rust_name; in RustNameOf()
192 rust_name = "Option<" + rust_name + ">"; in RustNameOf()
196 rust_name = "&mut " + rust_name; in RustNameOf()
199 return rust_name; in RustNameOf()