Skip to main content

IDebugUIHandlerButtonMethods

Trait IDebugUIHandlerButtonMethods 

Source
pub trait IDebugUIHandlerButtonMethods: IDebugUIHandlerButton {
    // Provided methods
    fn set_widget(self, widget: impl Into<DebugUI_Widget>) { ... }
    fn on_selection(
        self,
        from_next: impl Into<bool>,
        previous: impl Into<DebugUIHandlerWidget>,
    ) -> bool { ... }
    fn on_deselection(self) { ... }
    fn on_action(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_widget(self, widget: impl Into<DebugUI_Widget>)

SetWidget(crate::unity_engine::rendering::debugui::DebugUI_Widget) overload

Source

fn on_selection( self, from_next: impl Into<bool>, previous: impl Into<DebugUIHandlerWidget>, ) -> bool

OnSelection(bool, crate::unity_engine::rendering::ui::debuguihandlerwidget::DebugUIHandlerWidget) overload

Source

fn on_deselection(self)

OnDeselection() overload

Source

fn on_action(self)

OnAction() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IDebugUIHandlerButton> IDebugUIHandlerButtonMethods for __T

Available on crate feature unity_engine-rendering-ui-debuguihandlerbutton only.