Lines Matching defs:TokenStream
20 pub fn bridge(mut ffi: Module) -> Result<TokenStream> { in bridge()
51 fn expand(ffi: Module, doc: Doc, attrs: OtherAttrs, apis: &[Api], types: &Types) -> TokenStream { in expand()
154 fn expand_struct(strct: &Struct) -> TokenStream { in expand_struct()
198 fn expand_struct_operators(strct: &Struct) -> TokenStream { in expand_struct_operators()
305 fn expand_struct_forbid_drop(strct: &Struct) -> TokenStream { in expand_struct_forbid_drop()
316 fn expand_enum(enm: &Enum) -> TokenStream { in expand_enum()
374 fn expand_cxx_type(ety: &ExternType) -> TokenStream { in expand_cxx_type()
414 fn expand_cxx_type_assert_pinned(ety: &ExternType, types: &Types) -> TokenStream { in expand_cxx_type_assert_pinned()
450 fn expand_cxx_function_decl(efn: &ExternFn, types: &Types) -> TokenStream { in expand_cxx_function_decl()
491 fn expand_cxx_function_shim(efn: &ExternFn, types: &Types) -> TokenStream { in expand_cxx_function_shim()
784 ) -> TokenStream { in expand_function_pointer_trampoline()
818 fn expand_rust_type_import(ety: &ExternType) -> TokenStream { in expand_rust_type_import()
827 fn expand_rust_type_impl(ety: &ExternType) -> TokenStream { in expand_rust_type_impl()
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()
918 fn expand_forbid(impls: TokenStream) -> TokenStream { in expand_forbid()
929 fn expand_rust_function_shim(efn: &ExternFn, types: &Types) -> TokenStream { in expand_rust_function_shim()
964 ) -> TokenStream { in expand_rust_function_shim_impl()
1154 ) -> TokenStream { in expand_rust_function_shim_super()
1202 fn expand_type_alias(alias: &TypeAlias) -> TokenStream { in expand_type_alias()
1220 fn expand_type_alias_verify(alias: &TypeAlias, types: &Types) -> TokenStream { in expand_type_alias_verify()
1242 fn type_id(name: &Pair) -> TokenStream { in type_id()
1251 fn expand_rust_box(key: NamedImplKey, types: &Types, explicit_impl: Option<&Impl>) -> TokenStream { in expand_rust_box()
1299 fn expand_rust_vec(key: NamedImplKey, types: &Types, explicit_impl: Option<&Impl>) -> TokenStream { in expand_rust_vec()
1387 ) -> TokenStream { in expand_unique_ptr()
1475 ) -> TokenStream { in expand_shared_ptr()
1545 fn expand_weak_ptr(key: NamedImplKey, types: &Types, explicit_impl: Option<&Impl>) -> TokenStream { in expand_weak_ptr()
1610 ) -> TokenStream { in expand_cxx_vector()
1735 fn expand_return_type(ret: &Option<Type>) -> TokenStream { in expand_return_type()
1748 fn expand_extern_type(ty: &Type, types: &Types, proper: bool) -> TokenStream { in expand_extern_type()
1820 fn expand_extern_return_type(ret: &Option<Type>, types: &Types, proper: bool) -> TokenStream { in expand_extern_return_type()