Skip to main content

IDebugUIHandlerValueMethods

Trait IDebugUIHandlerValueMethods 

Source
pub trait IDebugUIHandlerValueMethods: IDebugUIHandlerValue {
    // Provided methods
    fn on_enable(self) { ... }
    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 update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_enable(self)

OnEnable() overload

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 update(self)

Update() 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: IDebugUIHandlerValue> IDebugUIHandlerValueMethods for __T

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