Search code examples
Macro that makes struct based on struct field's types...


rustrust-macros

Read More
Comma separated list of syn::Idents...


rustrust-macros

Read More
Generate attribute value via macro...


rustrust-macrosrust-decl-macros

Read More
Conditionally generate a From impl based on field type...


rustrust-macros

Read More
How do I evaluate expressions in Rust's macro system?...


rustrust-macros

Read More
Understanding `tt` in Rust's `macro_rules!` macros...


rustrust-macros

Read More
Can we get the source code location of the caller in a procedural macro attribute?...


rustrust-macrosrust-proc-macros

Read More
Can I define a macro which will expand into a function call?...


rustmacrosrust-macrosrust-decl-macros

Read More
How to concatenate token right after a variable within `quote!` macro?...


rusttokenconcatenationrust-macros

Read More
Rustlings Course Test4.rs Marcro Return Type Issue...


typesrustrust-macros

Read More
Unable to use self in macro because the macro expansion ignores token `self`...


rustrust-macros

Read More
In a procedural macro, how can I check if a string is a valid variable name and not a keyword?...


rustrust-macrosrust-proc-macros

Read More
How can I compute an instance of a type in a function-like procedural macro and return it?...


rustrust-macrosrust-proc-macros

Read More
Proper way to handle a compile-time relevant text file passed to a procedural macro...


rustrust-macros

Read More
Rust: cannot find macro...


importrustmacrosrust-macros

Read More
How to match a trait in a Rust macro?...


rustrust-macrosrust-decl-macros

Read More
How do I provide optional generics as macro_rules arguments?...


rustmacrosrust-macros

Read More
Rust macro that counts and generates repetitive struct fields...


rustrust-macros

Read More
Macro to build enum with different "kinds" of elements...


rustrust-macrosrust-decl-macros

Read More
What does the tt metavariable type mean in Rust macros?...


macrosrustmetaprogrammingrust-macros

Read More
Convert string into TokenStream...


rustrust-macrosrust-proc-macros

Read More
Issuing a warning at compile time?...


compiler-errorsrustrust-macros

Read More
Store state in macro_rules...


rustrust-macros

Read More
How to expand subpatterns in recursive macro_rules?...


rustrust-macros

Read More
Is it possible to use an item arg passed to a macro as a method?...


rustrust-macros

Read More
How to replace one identifier in an expression with another one via Rust macro?...


rustrust-macros

Read More
Creating environment for closure in a macro in Rust...


rustrust-macros

Read More
How to simplify mathematical formulas with rust macros?...


rustrust-macros

Read More
How to return a new String from a declarative macro?...


stringrustrust-macrosrust-decl-macros

Read More
How do I use a custom namespaced derive-macro attribute on a type instead of inside the type?...


rustrust-macrosrust-proc-macros

Read More
BackNext