pub const IGNORE_NUMBER: FunctionDescriptor;Expand description
Accepts and ignores one Number; useful as a default slider callback.
It is a concrete function value for Slider.action. The Number is checked then discarded, with no scene or host state update.
§Signature
func ignore_number(value: Number) -> Res[Unit, DataError]§Default slider action
ignore_number has the Slider callback type.
let action: func(Number) -> Res[Unit, DataError] = ignore_number;
action(0.5)?;