#[derive(Dissolve)]
{
// Attributes available to this derive:
#[dissolve]
#[dissolved]
}
Expand description
Derive macro that generates a dissolve(self) method for structs.
For named structs, returns a struct with public fields named {OriginalName}Dissolved.
For tuple structs, returns a tuple with the included fields.
ยงAttributes
#[dissolved(skip)]- Skip this field in the dissolved struct/tuple#[dissolved(rename = "new_name")]- Rename this field in the dissolved struct