Searched refs:RustType (Results 1 – 11 of 11) sorted by relevance
| /third_party/rust/crates/cxx/syntax/ |
| D | parse.rs | 21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr, 418 Api::CxxType(ety) | Api::RustType(ety) => Some(&ety.name), in parse_foreign_mod() 503 Lang::Rust => Api::RustType, in parse_extern_type() 853 let ty: RustType = input.parse()?; in parse_type_alias() 974 Lang::Rust => Api::RustType, in parse_extern_type_bounded() 1052 if let RustType::Verbatim(ty) = &self_ty { in parse_impl() 1147 fn parse_type(ty: &RustType) -> Result<Type> { in parse_type() 1149 RustType::Reference(ty) => parse_type_reference(ty), in parse_type() 1150 RustType::Ptr(ty) => parse_type_ptr(ty), in parse_type() 1151 RustType::Path(ty) => parse_type_path(ty), in parse_type() [all …]
|
| D | mod.rs | 41 use syn::{Attribute, Expr, Generics, Lifetime, LitInt, Token, Type as RustType}; 57 RustType(ExternType), enumerator 159 pub ty: RustType,
|
| D | ident.rs | 43 Api::CxxType(ety) | Api::RustType(ety) => { in check_all()
|
| D | types.rs | 134 Api::RustType(ety) => { in collect()
|
| D | check.rs | 68 Api::CxxType(ety) | Api::RustType(ety) => check_api_type(cx, ety), in do_typecheck()
|
| /third_party/rust/crates/cxx/src/ |
| D | rust_type.rs | 3 pub unsafe trait RustType {} interface
|
| D | lib.rs | 509 pub use crate::rust_type::{ImplBox, ImplVec, RustType};
|
| /third_party/rust/crates/cxx/gen/src/ |
| D | namespace.rs | 8 Api::CxxType(ety) | Api::RustType(ety) => &ety.name.namespace, in namespace()
|
| D | cfg.rs | 117 Api::CxxType(ety) | Api::RustType(ety) => &ety.cfg, in cfg()
|
| D | write.rs | 37 Api::Struct(_) | Api::CxxType(_) | Api::RustType(_) => true, in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() 110 Api::RustType(ety) => { in write_data_structures() 143 Api::RustType(ety) => write_opaque_type_layout_decls(out, ety), in write_functions() 156 Api::RustType(ety) => write_opaque_type_layout(out, ety), in write_functions()
|
| /third_party/rust/crates/cxx/macro/src/ |
| D | expand.rs | 57 if let Api::RustType(ety) = api { in expand() 82 Api::RustType(ety) => { in expand() 835 #unsafe_impl #generics ::cxx::private::RustType for #ident #generics {} in expand_rust_type_impl()
|