Type Alias ambient_api::prelude::U32Input

source ·
pub type U32Input = ParseableInput<u32>;
Expand description

Aliased Type§

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

Fields§

§value: u32

The current value.

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

Callback for when the value changes.