Home
last modified time | relevance | path

Searched defs:ToTokens (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/quote/src/
Dext.rs36 I::Item: ToTokens; in append_all()
45 I::Item: ToTokens, in append_separated()
46 U: ToTokens; in append_separated()
55 I::Item: ToTokens, in append_terminated()
56 U: ToTokens; in append_terminated()
70 I::Item: ToTokens, in append_all()
80 I::Item: ToTokens, in append_separated()
81 U: ToTokens, in append_separated()
94 I::Item: ToTokens, in append_terminated()
95 U: ToTokens, in append_terminated()
Dto_tokens.rs10 pub trait ToTokens { interface
77 impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T { impl
83 impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T { impl
130 impl ToTokens for $t { impl
/external/rust/crates/synstructure/src/
Dlib.rs644 T: ToTokens, in construct()
707 R: ToTokens, in each()
750 I: ToTokens, in fold()
751 R: ToTokens, in fold()
1078 R: ToTokens, in each()
1126 I: ToTokens, in fold()
1127 R: ToTokens, in fold()
1176 R: ToTokens, in each_variant()
1730 pub fn bound_impl<P: ToTokens, B: ToTokens>(&self, path: P, body: B) -> TokenStream { in bound_impl()
1800 pub fn unsafe_bound_impl<P: ToTokens, B: ToTokens>(&self, path: P, body: B) -> TokenStream { in unsafe_bound_impl()
[all …]
/external/rust/crates/thiserror-impl/src/
Dgenerics.rs61 pub fn insert(&mut self, ty: impl ToTokens, bound: impl ToTokens) { in insert()
/external/rust/cxx/syntax/
Dreport.rs14 pub fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error()
Dtypes.rs282 fn duplicate_name(cx: &mut Errors, sp: impl ToTokens, ident: &Ident) { in duplicate_name()
Dcheck.rs77 pub(crate) fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error()
/external/rust/crates/serde_derive/src/internals/
Dctxt.rs32 pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) { in error_spanned_by()
/external/rust/crates/derive_arbitrary/src/
Dlib.rs149 expr: impl quote::ToTokens, in with_recursive_count_guard()
150 ) -> impl quote::ToTokens { in with_recursive_count_guard()
/external/rust/crates/tracing-attributes/src/
Dattr.rs26 pub(crate) fn level(&self) -> impl ToTokens { in level()
66 pub(crate) fn target(&self) -> impl ToTokens { in target()
80 pub(crate) fn warnings(&self) -> impl ToTokens { in warnings()
/external/rust/crates/syn/src/
Dtoken.rs310 impl ToTokens for $name { impl
445 impl ToTokens for $name { impl
Derror.rs164 pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self { in new_spanned()
/external/rust/crates/quote/tests/
Dtest.rs25 impl<'a, T: ToTokens> ToTokens for &'a T { in test_quote_impl() impl
47 impl<'a, T: ToTokens> ToTokens for &'a T { in test_quote_spanned_impl() impl
/external/rust/crates/clap_derive/src/
Ditem.rs280 fn push_method(&mut self, kind: AttrKind, name: Ident, arg: impl ToTokens) { in push_method()