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> { ... }
}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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".