id

Function id 

Source
pub fn id(wgt: &mut WidgetBuilding, id: impl IntoValue<WidgetId>)
Expand description

B Unique ID of the widget instance.

Note that the id can convert from a &'static str unique name.

ยงMixin Property

This property is a mixin, it modifies the widget builder during build, it does not produce a standalone UI node.