Home
last modified time | relevance | path

Searched defs:ExternType (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/cxx/src/
Dextern_type.rs101 pub unsafe trait ExternType { interface
193 unsafe impl ExternType for $ty { impl
/third_party/rust/crates/cxx/syntax/
Dmod.rs80 pub struct ExternType { struct
81 pub cfg: CfgExpr,
82 pub lang: Lang,
83 pub doc: Doc,
84 pub derives: Vec<Derive>,
85 pub attrs: OtherAttrs,
86 pub visibility: Token![pub],
87 pub type_token: Token![type],
88 pub name: Pair,
89 pub generics: Lifetimes,
[all …]
Dderive.rs17 ExternType, enumerator
Dtokens.rs176 impl ToTokens for ExternType { implementation
Dcheck.rs369 fn check_api_type(cx: &mut Check, ety: &ExternType) { in check_api_type()
/third_party/rust/crates/cxx/gen/src/
Dwrite.rs347 fn write_opaque_type<'a>(out: &mut OutFile<'a>, ety: &'a ExternType, methods: &[&ExternFn]) { in write_opaque_type()
656 fn write_opaque_type_layout_decls<'a>(out: &mut OutFile<'a>, ety: &'a ExternType) { in write_opaque_type_layout_decls()
669 fn write_opaque_type_layout<'a>(out: &mut OutFile<'a>, ety: &'a ExternType) { in write_opaque_type_layout()
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs414 fn expand_cxx_type_assert_pinned(ety: &ExternType, types: &Types) -> TokenStream { in expand_cxx_type_assert_pinned()
856 fn expand_rust_type_assert_unpin(ety: &ExternType, types: &Types) -> TokenStream { in expand_rust_type_assert_unpin()
874 fn expand_rust_type_layout(ety: &ExternType, types: &Types) -> TokenStream { in expand_rust_type_layout()