Derive Macro nandoize::PersistableDeriveLib

source ·
#[derive(PersistableDeriveLib)]
Expand description

Derive macro used to generate an empty implementation of Persistable for the specified struct. The difference with the PersistableDerive macro is the target output file.

Examples

#[derive(PersistableDeriveLib)]
struct TestStruct {
    x: u32,
    y: i32,
}