pub trait GuiButtonExt<T: HasIDispatch = Self>: HasIDispatch<T> {
// Provided methods
fn emphasized(&self) -> Result<bool> { ... }
fn left_label(&self) -> Result<GuiComponent> { ... }
fn right_label(&self) -> Result<GuiComponent> { ... }
fn press(&self) -> Result<()> { ... }
}Provided Methods§
fn emphasized(&self) -> Result<bool>
fn left_label(&self) -> Result<GuiComponent>
fn right_label(&self) -> Result<GuiComponent>
fn press(&self) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".