Module drag_value

Source

Structsยง

DragValue
A numeric value that you can change by dragging the number. More compact than a crate::Slider.

Functionsยง

clamp_value_to_range ๐Ÿ”’
Clamp the given value with careful handling of negative zero, and other corner cases.
default_parser ๐Ÿ”’
The default egui parser of numbers.
get ๐Ÿ”’
parse ๐Ÿ”’
select_all_text ๐Ÿ”’
Select all text in the DragValue text edit widget.
set ๐Ÿ”’

Type Aliasesยง

GetSetValue ๐Ÿ”’
Combined into one function (rather than two) to make it easier for the borrow checker.
NumFormatter ๐Ÿ”’
NumParser ๐Ÿ”’