pub trait GuiComponentExt<T: HasIDispatch = Self>: HasIDispatch<T> {
// Provided methods
fn container_type(&self) -> Result<bool> { ... }
fn id(&self) -> Result<String> { ... }
fn name(&self) -> Result<String> { ... }
fn r_type(&self) -> Result<String> { ... }
fn type_as_number(&self) -> Result<i32> { ... }
}