/external/rust/crates/quote/src/ |
D | to_tokens.rs | 12 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 91 impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T> { 97 impl<T: ?Sized + ToTokens> ToTokens for Box<T> { 103 impl<T: ?Sized + ToTokens> ToTokens for Rc<T> { 109 impl<T: ToTokens> ToTokens for Option<T> { 117 impl ToTokens for str { 123 impl ToTokens for String { 131 impl ToTokens for $t { impl [all …]
|
D | ext.rs | 1 use super::ToTokens; 38 I::Item: ToTokens; in append_all() argument 47 I::Item: ToTokens, in append_separated() argument 48 U: ToTokens; in append_separated() argument 57 I::Item: ToTokens, in append_terminated() argument 58 U: ToTokens; in append_terminated() argument 72 I::Item: ToTokens, in append_all() argument 82 I::Item: ToTokens, in append_separated() argument 83 U: ToTokens, in append_separated() argument 96 I::Item: ToTokens, in append_terminated() argument [all …]
|
D | spanned.rs | 1 use crate::ToTokens; 14 impl<T: ?Sized + ToTokens> Spanned for T {
|
/external/rust/cxx/syntax/ |
D | tokens.rs | 7 use quote::{quote_spanned, ToTokens}; 10 impl ToTokens for Type { 39 impl ToTokens for Var { 54 impl ToTokens for Ty1 { 79 impl ToTokens for Ref { 104 impl ToTokens for Ptr { 120 impl ToTokens for SliceRef { 139 impl ToTokens for Array { 156 impl ToTokens for Atom { 162 impl ToTokens for Derive { [all …]
|
D | symbol.rs | 4 use quote::ToTokens; 17 impl ToTokens for Symbol { 19 ToTokens::to_tokens(&self.0, tokens); in to_tokens()
|
D | doc.rs | 2 use quote::{quote, ToTokens}; 30 impl ToTokens for Doc {
|
D | report.rs | 1 use quote::ToTokens; 14 pub fn error(&mut self, sp: impl ToTokens, msg: impl Display) { in error() argument
|
/external/rust/crates/serde_derive/src/ |
D | fragment.rs | 2 use quote::ToTokens; 28 impl ToTokens for Expr { 41 impl ToTokens for Stmts { 53 impl ToTokens for Match {
|
/external/rust/crates/syn/src/ |
D | print.rs | 2 use quote::ToTokens; 6 impl<'a, T> ToTokens for TokensOrDefault<'a, T> 8 T: ToTokens + Default,
|
D | pat.rs | 769 use quote::{ToTokens, TokenStreamExt}; 772 impl ToTokens for PatWild { 780 impl ToTokens for PatIdent { 794 impl ToTokens for PatStruct { 810 impl ToTokens for PatTupleStruct { 819 impl ToTokens for PatType { 829 impl ToTokens for PatPath { 837 impl ToTokens for PatTuple { 847 impl ToTokens for PatBox { 856 impl ToTokens for PatReference { [all …]
|
D | data.rs | 418 use quote::{ToTokens, TokenStreamExt}; 421 impl ToTokens for Variant { 434 impl ToTokens for FieldsNamed { 443 impl ToTokens for FieldsUnnamed { 452 impl ToTokens for Field { 465 impl ToTokens for VisPublic { 472 impl ToTokens for VisCrate { 479 impl ToTokens for VisRestricted {
|
D | ty.rs | 1066 use quote::{ToTokens, TokenStreamExt}; 1069 impl ToTokens for TypeSlice { 1078 impl ToTokens for TypeArray { 1089 impl ToTokens for TypePtr { 1103 impl ToTokens for TypeReference { 1113 impl ToTokens for TypeBareFn { 1134 impl ToTokens for TypeNever { 1141 impl ToTokens for TypeTuple { 1150 impl ToTokens for TypePath { 1157 impl ToTokens for TypeTraitObject { [all …]
|
D | spanned.rs | 86 use quote::spanned::Spanned as ToTokens; 110 impl<T: ?Sized + ToTokens> Spanned for T {
|
D | expr.rs | 2873 use quote::{ToTokens, TokenStreamExt}; 2906 impl ToTokens for ExprBox { 2916 impl ToTokens for ExprArray { 2927 impl ToTokens for ExprCall { 2939 impl ToTokens for ExprMethodCall { 2954 impl ToTokens for MethodTurbofish { 2965 impl ToTokens for GenericMethodArgument { 2976 impl ToTokens for ExprTuple { 2992 impl ToTokens for ExprBinary { 3002 impl ToTokens for ExprUnary { [all …]
|
D | generics.rs | 1007 use quote::{ToTokens, TokenStreamExt}; 1010 impl ToTokens for Generics { 1047 impl<'a> ToTokens for ImplGenerics<'a> { 1102 impl<'a> ToTokens for TypeGenerics<'a> { 1150 impl<'a> ToTokens for Turbofish<'a> { 1160 impl ToTokens for BoundLifetimes { 1170 impl ToTokens for LifetimeDef { 1182 impl ToTokens for TypeParam { 1221 impl ToTokens for TraitBound { 1236 impl ToTokens for TraitBoundModifier { [all …]
|
D | file.rs | 116 use quote::{ToTokens, TokenStreamExt}; 119 impl ToTokens for File {
|
/external/rust/crates/syn-mid/src/ |
D | pat.rs | 303 use quote::{ToTokens, TokenStreamExt}; 311 impl ToTokens for PatWild { 317 impl ToTokens for PatIdent { 325 impl ToTokens for PatStruct { 339 impl ToTokens for PatTupleStruct { 346 impl ToTokens for PatType { 355 impl ToTokens for PatPath { 361 impl ToTokens for PatTuple { 369 impl ToTokens for PatReference { 377 impl ToTokens for FieldPat {
|
D | func.rs | 189 use quote::{ToTokens, TokenStreamExt}; 194 impl ToTokens for Block { 221 impl ToTokens for Signature { 244 impl ToTokens for ItemFn { 255 impl ToTokens for Receiver {
|
/external/rust/cxx/macro/src/ |
D | generics.rs | 5 use quote::ToTokens; 36 impl<'a> ToTokens for ImplGenerics<'a> { 46 impl<'a> ToTokens for TyGenerics<'a> {
|
D | type_id.rs | 3 use quote::{format_ident, quote, ToTokens}; 10 impl ToTokens for Crate {
|
/external/rust/crates/structopt-derive/src/ |
D | spanned.rs | 2 use quote::ToTokens; 86 impl<T: ToTokens> ToTokens for Sp<T> {
|
/external/rust/crates/proc-macro-error/src/ |
D | lib.rs | 287 use quote::{quote, ToTokens}; 334 pub fn from_tokens(ts: &dyn ToTokens) -> Self { in from_tokens() 498 use quote::ToTokens; 525 impl<T: ToTokens> ToTokensAsSpanRange for &T {
|
/external/rust/crates/proc-macro-error/tests/ui/ |
D | misuse.stderr | 5 | ----------- doesn't satisfy `Foo: quote::to_tokens::ToTokens` 11 `Foo: quote::to_tokens::ToTokens`
|
/external/rust/crates/serde_derive/src/internals/ |
D | ctxt.rs | 1 use quote::ToTokens; 32 pub fn error_spanned_by<A: ToTokens, T: Display>(&self, obj: A, msg: T) { in error_spanned_by() argument
|
/external/rust/crates/quote/tests/ |
D | test.rs | 11 impl quote::ToTokens for X { 20 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
|