Type Alias ambient_ui::editor::I32Input

source ·
pub type I32Input = ParseableInput<i32>;
Expand description

Aliased Type§

struct I32Input {
    pub value: i32,
    pub on_change: Arc<CbDebuggable<dyn Fn(i32) + Sync + Send>>,
}

Fields§

§value: i32

The current value.

§on_change: Arc<CbDebuggable<dyn Fn(i32) + Sync + Send>>

Callback for when the value changes.