Skip to main content

IDebugUIHandlerColorMethods

Trait IDebugUIHandlerColorMethods 

Source
pub trait IDebugUIHandlerColorMethods: IDebugUIHandlerColor {
    // Provided methods
    fn set_widget(self, widget: impl Into<DebugUI_Widget>) { ... }
    fn set_value(
        self,
        x: impl Into<f32>,
        r: impl Into<bool>,
        g: impl Into<bool>,
        b: impl Into<bool>,
        a: impl Into<bool>,
    ) { ... }
    fn setup_settings(self, field: impl Into<DebugUIHandlerIndirectFloatField>) { ... }
    fn on_selection(
        self,
        from_next: impl Into<bool>,
        previous: impl Into<DebugUIHandlerWidget>,
    ) -> bool { ... }
    fn on_deselection(self) { ... }
    fn on_increment(self, fast: impl Into<bool>) { ... }
    fn on_decrement(self, fast: impl Into<bool>) { ... }
    fn on_action(self) { ... }
    fn update_color(self) { ... }
    fn next(self) -> DebugUIHandlerWidget { ... }
    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 set_value( self, x: impl Into<f32>, r: impl Into<bool>, g: impl Into<bool>, b: impl Into<bool>, a: impl Into<bool>, )

SetValue(f32, bool, bool, bool, bool) overload

Source

fn setup_settings(self, field: impl Into<DebugUIHandlerIndirectFloatField>)

SetupSettings(crate::unity_engine::rendering::ui::debuguihandlerindirectfloatfield::DebugUIHandlerIndirectFloatField) 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_increment(self, fast: impl Into<bool>)

OnIncrement(bool) overload

Source

fn on_decrement(self, fast: impl Into<bool>)

OnDecrement(bool) overload

Source

fn on_action(self)

OnAction() overload

Source

fn update_color(self)

UpdateColor() overload

Source

fn next(self) -> DebugUIHandlerWidget

Next() 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: IDebugUIHandlerColor> IDebugUIHandlerColorMethods for __T

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