Home
last modified time | relevance | path

Searched refs:ToTokens (Results 1 – 25 of 55) sorted by relevance

123

/external/rust/crates/quote/src/
Dto_tokens.rs12 pub trait ToTokens { interface
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 …]
Dext.rs1 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 …]
Dspanned.rs1 use crate::ToTokens;
14 impl<T: ?Sized + ToTokens> Spanned for T {
Druntime.rs1 use crate::{IdentFragment, ToTokens, TokenStreamExt};
47 use crate::ToTokens;
76 impl<T: ToTokens + ?Sized> RepToTokensExt for T {}
177 impl<T: ToTokens> ToTokens for RepInterp<T> {
/external/rust/crates/syn/0.15.42/src/
Dspanned.rs68 use quote::ToTokens;
94 use quote::ToTokens;
96 impl<T: ToTokens> Sealed for T {}
101 T: ToTokens,
Dty.rs828 use quote::ToTokens;
832 impl ToTokens for TypeSlice {
840 impl ToTokens for TypeArray {
850 impl ToTokens for TypePtr {
863 impl ToTokens for TypeReference {
872 impl ToTokens for TypeBareFn {
892 impl ToTokens for TypeNever {
898 impl ToTokens for TypeTuple {
906 impl ToTokens for TypePath {
912 impl ToTokens for TypeTraitObject {
[all …]
Dprint.rs2 use quote::ToTokens;
6 impl<'a, T> ToTokens for TokensOrDefault<'a, T>
8 T: ToTokens + Default,
Ddata.rs320 use quote::{ToTokens, TokenStreamExt};
324 impl ToTokens for Variant {
336 impl ToTokens for FieldsNamed {
344 impl ToTokens for FieldsUnnamed {
352 impl ToTokens for Field {
364 impl ToTokens for VisPublic {
370 impl ToTokens for VisCrate {
376 impl ToTokens for VisRestricted {
Dexpr.rs3038 use quote::{ToTokens, TokenStreamExt};
3075 impl ToTokens for ExprBox {
3084 impl ToTokens for ExprInPlace {
3094 impl ToTokens for ExprArray {
3104 impl ToTokens for ExprCall {
3115 impl ToTokens for ExprMethodCall {
3129 impl ToTokens for MethodTurbofish {
3139 impl ToTokens for GenericMethodArgument {
3149 impl ToTokens for ExprTuple {
3164 impl ToTokens for ExprBinary {
[all …]
Ditem.rs2210 use quote::{ToTokens, TokenStreamExt};
2215 impl ToTokens for ItemExternCrate {
2230 impl ToTokens for ItemUse {
2241 impl ToTokens for ItemStatic {
2256 impl ToTokens for ItemConst {
2270 impl ToTokens for ItemFn {
2286 impl ToTokens for ItemMod {
2303 impl ToTokens for ItemForeignMod {
2314 impl ToTokens for ItemType {
2328 impl ToTokens for ItemExistential {
[all …]
Dgenerics.rs873 use quote::{ToTokens, TokenStreamExt};
878 impl ToTokens for Generics {
915 impl<'a> ToTokens for ImplGenerics<'a> {
970 impl<'a> ToTokens for TypeGenerics<'a> {
1018 impl<'a> ToTokens for Turbofish<'a> {
1027 impl ToTokens for BoundLifetimes {
1036 impl ToTokens for LifetimeDef {
1047 impl ToTokens for TypeParam {
1062 impl ToTokens for TraitBound {
1076 impl ToTokens for TraitBoundModifier {
[all …]
Dpath.rs525 use quote::ToTokens;
529 impl ToTokens for Path {
536 impl ToTokens for PathSegment {
543 impl ToTokens for PathArguments {
557 impl ToTokens for GenericArgument {
584 impl ToTokens for AngleBracketedGenericArguments {
640 impl ToTokens for Binding {
648 impl ToTokens for Constraint {
656 impl ToTokens for ParenthesizedGenericArguments {
Dfile.rs105 use quote::{ToTokens, TokenStreamExt};
107 impl ToTokens for File {
Dlit.rs585 use quote::{ToTokens, TokenStreamExt};
587 impl ToTokens for LitStr {
593 impl ToTokens for LitByteStr {
599 impl ToTokens for LitByte {
605 impl ToTokens for LitChar {
611 impl ToTokens for LitInt {
617 impl ToTokens for LitFloat {
623 impl ToTokens for LitBool {
630 impl ToTokens for LitVerbatim {
/external/rust/crates/syn/1.0.7/src/
Dprint.rs2 use quote::ToTokens;
6 impl<'a, T> ToTokens for TokensOrDefault<'a, T>
8 T: ToTokens + Default,
Ddata.rs376 use quote::{ToTokens, TokenStreamExt};
380 impl ToTokens for Variant {
392 impl ToTokens for FieldsNamed {
400 impl ToTokens for FieldsUnnamed {
408 impl ToTokens for Field {
420 impl ToTokens for VisPublic {
426 impl ToTokens for VisCrate {
432 impl ToTokens for VisRestricted {
Dpat.rs754 use quote::{ToTokens, TokenStreamExt};
758 impl ToTokens for PatWild {
765 impl ToTokens for PatIdent {
778 impl ToTokens for PatStruct {
793 impl ToTokens for PatTupleStruct {
801 impl ToTokens for PatType {
810 impl ToTokens for PatPath {
817 impl ToTokens for PatTuple {
826 impl ToTokens for PatBox {
834 impl ToTokens for PatReference {
[all …]
Dty.rs997 use quote::{ToTokens, TokenStreamExt};
1002 impl ToTokens for TypeSlice {
1010 impl ToTokens for TypeArray {
1020 impl ToTokens for TypePtr {
1033 impl ToTokens for TypeReference {
1042 impl ToTokens for TypeBareFn {
1062 impl ToTokens for TypeNever {
1068 impl ToTokens for TypeTuple {
1076 impl ToTokens for TypePath {
1082 impl ToTokens for TypeTraitObject {
[all …]
Dgenerics.rs899 use quote::{ToTokens, TokenStreamExt};
904 impl ToTokens for Generics {
941 impl<'a> ToTokens for ImplGenerics<'a> {
996 impl<'a> ToTokens for TypeGenerics<'a> {
1044 impl<'a> ToTokens for Turbofish<'a> {
1053 impl ToTokens for BoundLifetimes {
1062 impl ToTokens for LifetimeDef {
1073 impl ToTokens for TypeParam {
1088 impl ToTokens for TraitBound {
1102 impl ToTokens for TraitBoundModifier {
[all …]
Dexpr.rs2660 use quote::{ToTokens, TokenStreamExt};
2697 impl ToTokens for ExprBox {
2706 impl ToTokens for ExprArray {
2716 impl ToTokens for ExprCall {
2727 impl ToTokens for ExprMethodCall {
2741 impl ToTokens for MethodTurbofish {
2751 impl ToTokens for GenericMethodArgument {
2761 impl ToTokens for ExprTuple {
2776 impl ToTokens for ExprBinary {
2785 impl ToTokens for ExprUnary {
[all …]
Dspanned.rs86 use quote::spanned::Spanned as ToTokens;
110 impl<T: ?Sized + ToTokens> Spanned for T {
Dpath.rs565 use quote::ToTokens;
569 impl ToTokens for Path {
576 impl ToTokens for PathSegment {
583 impl ToTokens for PathArguments {
597 impl ToTokens for GenericArgument {
624 impl ToTokens for AngleBracketedGenericArguments {
680 impl ToTokens for Binding {
688 impl ToTokens for Constraint {
696 impl ToTokens for ParenthesizedGenericArguments {
Dfile.rs105 use quote::{ToTokens, TokenStreamExt};
107 impl ToTokens for File {
Ditem.rs1840 use quote::{ToTokens, TokenStreamExt}; in item_existential()
2557 use quote::{ToTokens, TokenStreamExt};
2562 impl ToTokens for ItemExternCrate {
2577 impl ToTokens for ItemUse {
2588 impl ToTokens for ItemStatic {
2603 impl ToTokens for ItemConst {
2617 impl ToTokens for ItemFn {
2629 impl ToTokens for ItemMod {
2646 impl ToTokens for ItemForeignMod {
2657 impl ToTokens for ItemType {
[all …]
Dstmt.rs292 use quote::{ToTokens, TokenStreamExt};
294 impl ToTokens for Block {
302 impl ToTokens for Stmt {
316 impl ToTokens for Local {

123