Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust-macros

Is it possible to write something as complex as `print!` in a pure Rust macro?

Issuing a warning at compile time?

How to call methods on self in macros?

rust rust-macros

How do I provide helpful compiler errors in a procedural macro?

rust rust-macros

How to pad an array with zeros?

rust rust-macros

Creating environment for closure in a macro in Rust

rust rust-macros

What does an @ symbol mean in a Rust declarative macro?

How to match Rust's `if` expressions in a macro?

macros rust rust-macros

Import macro from parent module [duplicate]

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

rust rust-macros

Why can I not access a variable declared in a macro unless I pass in the name of the variable?

macros rust rust-macros

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

rust rust-macros

How to make a public struct where all fields are public without repeating `pub` for every field?

struct rust public rust-macros

Is there a way to count with macros?

macros rust rust-macros

What does the tt metavariable type mean in Rust macros?

How do I see the expanded macro code that's causing my compile error?

How do I use a macro across module files?

module rust rust-macros