HistoryMethods

Derive Macro HistoryMethods 

Source
#[derive(HistoryMethods)]
{
    // Attributes available to this derive:
    #[use_state]
    #[save_state]
}
Expand description

Derives save_state method for struct and all fields marked with save_state or use_state attributes