Accepts and ignores one Number; useful as a default slider callback.
Signature
It is a concrete function value for Slider.action. The Number is checked then discarded, with no scene or host state update.
Parameters
value: f64- A Number accepted without a state change.
Returns
Examples
Default slider action
ignore_number has the Slider callback type.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
(no log output)
Rust definition
Rust interpreter builtin dispatch; Type is func(Number) -> Res[Unit, DataError].
View Rust documentation →Support: runtime