lombok_macros

Derive Macro Lombok

Source
#[derive(Lombok)]
Expand description

A procedural macro to automatically generate getter and setter methods for struct fields.

This macro can be applied to structs to automatically generate getter and setter methods for all of its fields.

§Parameters

  • input: The input token stream containing the struct to be processed.

§Returns

Returns the generated TokenStream containing the implementation of getter and setter methods for the struct.