Searched defs:ToTokens (Results 1 – 12 of 12) sorted by relevance
/third_party/rust/crates/quote/src/ |
D | ext.rs | 36 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()
|
D | to_tokens.rs | 10 pub trait ToTokens { trait 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
|
/third_party/rust/crates/cxx/syntax/ |
D | report.rs | 14 pub fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error()
|
D | types.rs | 282 fn duplicate_name(cx: &mut Errors, sp: impl ToTokens, ident: &Ident) { in duplicate_name()
|
D | check.rs | 77 pub(crate) fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error()
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | ctxt.rs | 32 pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) { in error_spanned_by()
|
/third_party/rust/crates/tracing/tracing-attributes/src/ |
D | attr.rs | 26 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()
|
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/ |
D | lib.rs | 69 fn assign_and_print(&mut self, left: Expr, op: &dyn ToTokens, right: Expr) -> Expr { in assign_and_print()
|
/third_party/rust/crates/syn/src/ |
D | token.rs | 310 impl ToTokens for $name { impl 445 impl ToTokens for $name { impl
|
D | error.rs | 164 pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self { in new_spanned()
|
/third_party/rust/crates/quote/tests/ |
D | test.rs | 25 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
|
/third_party/rust/crates/clap/clap_derive/src/ |
D | item.rs | 280 fn push_method(&mut self, kind: AttrKind, name: Ident, arg: impl ToTokens) { in push_method()
|