[−][src]Attribute Macro v9_attr::property
#[property]
A sorta wrapper around v9::decl_property!
.
There are two complications:
-
This is pretty much inherently only going to work on local types, so the
~i32
thing doesn't work. -
The struct must
impl Default
. (Well, I guess there could be astruct Foo {} = init;
thing, but that'd look weird!)