Struct imgui::DragRange [−][src]
Expand description
Builder for a drag slider widget.
Implementations
Sets the value increment for a movement of one pixel.
Example: speed=0.2 means mouse needs to move 5 pixels to increase the slider value by 1
Sets the display format using a C-style printf string
pub fn max_display_format<M2: AsRef<str>>(
self,
max_display_format: M2
) -> DragRange<T, L, F, M2>
pub fn max_display_format<M2: AsRef<str>>(
self,
max_display_format: M2
) -> DragRange<T, L, F, M2>
Sets the display format for the max value using a C-style printf string
Replaces all current settings with the given flags
Trait Implementations
Auto Trait Implementations
impl<T, L, F, M> RefUnwindSafe for DragRange<T, L, F, M> where
F: RefUnwindSafe,
L: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, L, F, M> UnwindSafe for DragRange<T, L, F, M> where
F: UnwindSafe,
L: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more