Home
last modified time | relevance | path

Searched refs:RustType (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/cxx/syntax/
Dparse.rs21 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 …]
Dmod.rs41 use syn::{Attribute, Expr, Generics, Lifetime, LitInt, Token, Type as RustType};
57 RustType(ExternType), enumerator
159 pub ty: RustType,
Dident.rs43 Api::CxxType(ety) | Api::RustType(ety) => { in check_all()
Dtypes.rs134 Api::RustType(ety) => { in collect()
Dcheck.rs68 Api::CxxType(ety) | Api::RustType(ety) => check_api_type(cx, ety), in do_typecheck()
/third_party/rust/crates/cxx/src/
Drust_type.rs3 pub unsafe trait RustType {} trait
Dlib.rs509 pub use crate::rust_type::{ImplBox, ImplVec, RustType};
/third_party/rust/crates/cxx/gen/src/
Dnamespace.rs8 Api::CxxType(ety) | Api::RustType(ety) => &ety.name.namespace, in namespace()
Dcfg.rs117 Api::CxxType(ety) | Api::RustType(ety) => &ety.cfg, in cfg()
Dwrite.rs37 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/
Dexpand.rs57 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()