Home
last modified time | relevance | path

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

/external/rust/crates/quote/src/
Dext.rs38 I::Item: ToTokens; in append_all()
47 I::Item: ToTokens, in append_separated()
48 U: ToTokens; in append_separated()
57 I::Item: ToTokens, in append_terminated()
58 U: ToTokens; in append_terminated()
72 I::Item: ToTokens, in append_all()
82 I::Item: ToTokens, in append_separated()
83 U: ToTokens, in append_separated()
96 I::Item: ToTokens, in append_terminated()
97 U: ToTokens, in append_terminated()
Dto_tokens.rs12 pub trait ToTokens { trait
79 impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T { impl
85 impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T { impl
131 impl ToTokens for $t { impl
/external/rust/cxx/syntax/
Dreport.rs14 pub fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error()
Dtypes.rs263 fn duplicate_name(cx: &mut Errors, sp: impl ToTokens, ident: &Ident) { in duplicate_name()
Dcheck.rs61 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/quote/tests/
Dtest.rs20 impl<'a, T: ToTokens> ToTokens for &'a T { in test_quote_impl() impl
42 impl<'a, T: ToTokens> ToTokens for &'a T { in test_quote_spanned_impl() impl
/external/rust/crates/syn/src/
Dtoken.rs310 impl ToTokens for $name { impl
445 impl ToTokens for $name { impl
Derror.rs157 pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self { in new_spanned()
/external/rust/crates/structopt-derive/src/
Dattrs.rs259 fn push_method(&mut self, name: Ident, arg: impl ToTokens) { in push_method()