Skip to main content

IDebugUIHandlerToggleMethods

Trait IDebugUIHandlerToggleMethods 

Source
pub trait IDebugUIHandlerToggleMethods: IDebugUIHandlerToggle {
    // 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 update_value_label(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 update_value_label(self)

UpdateValueLabel() 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: IDebugUIHandlerToggle> IDebugUIHandlerToggleMethods for __T

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