Home
last modified time | relevance | path

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

/third_party/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 { 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/
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()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dctxt.rs32 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/
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()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
Dlib.rs69 fn assign_and_print(&mut self, left: Expr, op: &dyn ToTokens, right: Expr) -> Expr { in assign_and_print()
/third_party/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()
/third_party/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
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs280 fn push_method(&mut self, kind: AttrKind, name: Ident, arg: impl ToTokens) { in push_method()