Skip to main content

IDebugUIHandlerIndirectToggleMethods

Trait IDebugUIHandlerIndirectToggleMethods 

Source
pub trait IDebugUIHandlerIndirectToggleMethods: IDebugUIHandlerIndirectToggle {
    // Provided methods
    fn init(self) { ... }
    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 init(self)

Init() 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: IDebugUIHandlerIndirectToggle> IDebugUIHandlerIndirectToggleMethods for __T

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