Macro zng::widget::builder::property_id
source · macro_rules! property_id { ($($tt:tt)*) => { ... }; }
Expand description
New PropertyId
that represents the type and name.
§Syntax
path::property
: Gets the ID for the property function.Self::property
: Gets the ID for the property method on the widget.
§Examples
let foo_id = property_id!(path::foo);
let bar_id = property_id!(bar);
assert_ne!(foo_id, bar_id);