Type Alias ambient_ui::editor::UsizeInput

source ·
pub type UsizeInput = ParseableInput<usize>;
Expand description

Aliased Type§

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

Fields§

§value: usize

The current value.

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

Callback for when the value changes.