Home
last modified time | relevance | path

Searched refs:impl_generics (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/pin-project-lite/src/
Dlib.rs426 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?]
449 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
462 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
475 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
497 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
510 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
523 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
532 impl <$($impl_generics)*> $ident <$($ty_generics)*>
575 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
585 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
[all …]
Dlib.rs.orig423 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?]
446 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
459 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
472 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
494 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
507 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
520 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
529 impl <$($impl_generics)*> $ident <$($ty_generics)*>
572 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
582 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?]
[all …]
/external/adhd/cros_alsa/cros_alsa_derive/src/
Dcontrol.rs18 let (impl_generics, ty_generics, where_clause) = ast.generics.split_for_impl(); in impl_control_ops()
30 impl #impl_generics #path::ControlOps #impl_generics for #name #ty_generics #where_clause { in impl_control_ops()
31 …fn load(&mut self) -> ::std::result::Result<<Self as #path::Control #impl_generics>::Item, #path::… in impl_control_ops()
34 …fn save(&mut self, val: <Self as #path::Control #impl_generics>::Item) -> ::std::result::Result<bo… in impl_control_ops()
/external/rust/cxx/macro/src/
Dgenerics.rs24 let impl_generics = ImplGenerics { in split_for_impl() localVariable
33 (impl_generics, ty_generics) in split_for_impl()
39 imp.impl_generics.to_tokens(tokens); in to_tokens()
Dexpand.rs1146 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_box()
1154 #unsafe_token impl #impl_generics ::cxx::private::ImplBox for #ident #ty_generics {} in expand_rust_box()
1157 …unsafe extern "C" fn #local_alloc #impl_generics() -> *mut ::std::mem::MaybeUninit<#ident #ty_gene… in expand_rust_box()
1162 …unsafe extern "C" fn #local_dealloc #impl_generics(ptr: *mut ::std::mem::MaybeUninit<#ident #ty_ge… in expand_rust_box()
1167 …unsafe extern "C" fn #local_drop #impl_generics(this: *mut ::std::boxed::Box<#ident #ty_generics>)… in expand_rust_box()
1194 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_vec()
1202 #unsafe_token impl #impl_generics ::cxx::private::ImplVec for #elem #ty_generics {} in expand_rust_vec()
1205 …unsafe extern "C" fn #local_new #impl_generics(this: *mut ::cxx::private::RustVec<#elem #ty_generi… in expand_rust_vec()
1210 …unsafe extern "C" fn #local_drop #impl_generics(this: *mut ::cxx::private::RustVec<#elem #ty_gener… in expand_rust_vec()
1215 …unsafe extern "C" fn #local_len #impl_generics(this: *const ::cxx::private::RustVec<#elem #ty_gene… in expand_rust_vec()
[all …]
/external/rust/crates/thiserror-impl/src/
Dexpand.rs18 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_struct()
117 impl #impl_generics std::fmt::Display for #ty #ty_generics #where_clause { in impl_struct()
132 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_struct()
145 impl #impl_generics #error_trait for #ty #ty_generics #where_clause { in impl_struct()
156 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_enum()
303 impl #impl_generics std::fmt::Display for #ty #ty_generics #where_clause { in impl_enum()
325 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_enum()
338 impl #impl_generics #error_trait for #ty #ty_generics #where_clause { in impl_enum()
/external/rust/crates/syn/tests/
Dtest_generics.rs101 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in test_split_for_impl()
104 impl #impl_generics MyTrait for Test #ty_generics #where_clause {} in test_split_for_impl()
/external/rust/crates/pin-project-internal/src/pin_project/
Dderive.rs681 let (impl_generics, _, where_clause) = proj_generics.split_for_impl(); in make_unpin_impl()
685 impl #impl_generics ::pin_project::__private::Unpin for #orig_ident #ty_generics in make_unpin_impl()
832 let (impl_generics, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_drop_impl()
839 impl #impl_generics ::pin_project::__private::Drop for #ident #ty_generics in make_drop_impl()
883 impl #impl_generics #trait_ident for #ident #ty_generics #where_clause {} in make_drop_impl()
896 impl #impl_generics ::pin_project::__private::PinnedDrop for #ident #ty_generics in make_drop_impl()
926 let (impl_generics, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_proj_impl()
986 impl #impl_generics #orig_ident #ty_generics #where_clause { in make_proj_impl()
1080 let (impl_generics, ty_generics, where_clause) = orig.generics.split_for_impl(); in ensure_not_packed()
1084 fn __assert_not_repr_packed #impl_generics (this: &#ident #ty_generics) #where_clause { in ensure_not_packed()
/external/rust/crates/async-trait/src/
Dexpand.rs37 impl_generics: &'a Generics,
46 Context::Impl { impl_generics, .. } => impl_generics, in lifetimes()
105 impl_generics: &input.generics, in expand()
/external/rust/crates/pin-project-internal/src/
Dpinned_drop.rs22 let (impl_generics, _, where_clause) = input.generics.split_for_impl(); in attribute()
37 impl #impl_generics ::pin_project::__private::PinnedDrop for #self_ty in attribute()
/external/rust/crates/derive_arbitrary/src/
Dlib.rs26 let (impl_generics, _, _) = generics_with_lifetime.split_for_impl(); in derive_arbitrary()
32 …impl #impl_generics arbitrary::Arbitrary<#lifetime_without_bounds> for #name #ty_generics #where_c… in derive_arbitrary()
/external/rust/cxx/syntax/
Dtokens.rs217 impl_generics, in to_tokens()
225 impl_generics.to_tokens(tokens); in to_tokens()
Dparse.rs917 let mut impl_generics = Lifetimes { in parse_impl() localVariable
926 impl_generics.lifetimes.push_value(def.lifetime); in parse_impl()
928 impl_generics.lifetimes.push_punct(punct); in parse_impl()
932 let span = quote!(#impl_token #impl_generics); in parse_impl()
982 impl_generics, in parse_impl()
Dmod.rs145 pub impl_generics: Lifetimes, field
/external/rust/crates/serde_derive/src/
Dser.rs27 let (impl_generics, ty_generics, where_clause) = params.generics.split_for_impl(); in expand_derive_serialize()
35 impl #impl_generics #ident #ty_generics #where_clause { in expand_derive_serialize()
48 impl #impl_generics #serde::Serialize for #ident #ty_generics #where_clause { in expand_derive_serialize()
Dde.rs2984 let (impl_generics, _, _) = generics.split_for_impl(); in to_tokens()
2985 impl_generics.to_tokens(tokens); in to_tokens()
3019 let (impl_generics, _, _) = generics.split_for_impl(); in to_tokens()
3020 impl_generics.to_tokens(tokens); in to_tokens()