Trait agui_core::widget::WidgetType [−][src]
pub trait WidgetType {
fn get_type_id(&self) -> TypeId;
fn get_type_name(&self) -> &'static str;
}
Expand description
Makes internal type information available at runtime.
Required methods
fn get_type_id(&self) -> TypeId
fn get_type_id(&self) -> TypeId
Return the TypeId::of()
of the widget.
fn get_type_name(&self) -> &'static str
fn get_type_name(&self) -> &'static str
Return the name of the widget as a string. Generally this is the name of the struct.