Lines Matching defs:TokenStream
7 pub fn expand_struct(strct: &Struct, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_struct()
36 pub fn expand_enum(enm: &Enum, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_enum()
93 fn struct_copy(strct: &Struct, span: Span) -> TokenStream { in struct_copy()
102 fn struct_clone(strct: &Struct, span: Span) -> TokenStream { in struct_clone()
130 fn struct_debug(strct: &Struct, span: Span) -> TokenStream { in struct_debug()
148 fn struct_default(strct: &Struct, span: Span) -> TokenStream { in struct_default()
166 fn struct_ord(strct: &Struct, span: Span) -> TokenStream { in struct_ord()
186 fn struct_partial_ord(strct: &Struct, span: Span) -> TokenStream { in struct_partial_ord()
216 fn enum_copy(enm: &Enum, span: Span) -> TokenStream { in enum_copy()
224 fn enum_clone(enm: &Enum, span: Span) -> TokenStream { in enum_clone()
236 fn enum_debug(enm: &Enum, span: Span) -> TokenStream { in enum_debug()
259 fn enum_ord(enm: &Enum, span: Span) -> TokenStream { in enum_ord()
271 fn enum_partial_ord(enm: &Enum, span: Span) -> TokenStream { in enum_partial_ord()