Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust-proc-macros

What is the syn type/struct that represents the nested field offset parameter to offset_of! macro?

rust rust-proc-macros

Infer the name of the calling crate to populate a doctest in a procedural macro

Parsing content of brackets in rust proc_macro

use Rust proc macros to generate dynamically named struct instance methods

How to get the content of a module passed to an inner attribute macro?

rust rust-proc-macros

Is it possible to store state within Rust's procedural macros?

Unable to get field attrs with syn/darling

rust rust-proc-macros

How can I store an identifier (`proc_macro::Ident`) as a constant to avoid repeating it?

rust rust-proc-macros

Rust proc_macro_derive: How do I check if a field is of a primitive type, like boolean?

rust rust-proc-macros

What is a suitable place to store procedural macro artifacts so that they are cleaned up by `cargo clean`?

Why can't Rust find method for enum generated using proc_macro_attribute?

rust enums rust-proc-macros

How do I create a proc_macro_attribute?

Cyclic package dependency while implementing proc macro

Is there a way to get the file and the module path of where a procedural macro is attached at compile-time?

rust rust-proc-macros

How do I create a function-like procedural macro?

How can I get the T from an Option<T> when using syn?

How do I get the value and type of a Literal in a procedural macro?

rust rust-proc-macros

How to report errors in a procedural macro using the quote macro?

How to programmatically get the number of fields of a struct?