Trait pixel_game_lib::gui::WidgetRef
source · pub trait WidgetRef: Into<NodeId> + From<NodeId> + Copy {
type Widget: Widget;
}
Expand description
Reference to a widget after it has been constructed.
Can be passed to Gui::widget
and Gui::widget_mut
to get the original widget back in update and render functions.
Required Associated Types§
Object Safety§
This trait is not object safe.