[][src]Attribute Macro v9_attr::property

#[property]

A sorta wrapper around v9::decl_property!. There are two complications:

  1. This is pretty much inherently only going to work on local types, so the ~i32 thing doesn't work.

  2. The struct must impl Default. (Well, I guess there could be a struct Foo {} = init; thing, but that'd look weird!)