Struct imgui::InputFloat2
source · pub struct InputFloat2<'ui, 'p, L, T, F = &'static str> { /* private fields */ }
Implementations§
source§impl<'ui, 'p, L, T> InputFloat2<'ui, 'p, L, T>where
L: AsRef<str>,
T: Copy + Into<Vector2<f32>>,
Vector2<f32>: Into<T> + Into<[f32; 2]>,
impl<'ui, 'p, L, T> InputFloat2<'ui, 'p, L, T>where
L: AsRef<str>,
T: Copy + Into<Vector2<f32>>,
Vector2<f32>: Into<T> + Into<[f32; 2]>,
pub fn new(ui: &'ui Ui, label: L, value: &'p mut T) -> Self
pub fn display_format<F2: AsRef<str>>(
self,
display_format: F2
) -> InputFloat2<'ui, 'p, L, T, F2>
pub fn build(self) -> bool
pub fn flags(self, flags: InputTextFlags) -> Self
pub fn chars_decimal(self, value: bool) -> Self
pub fn chars_hexadecimal(self, value: bool) -> Self
pub fn chars_uppercase(self, value: bool) -> Self
pub fn chars_noblank(self, value: bool) -> Self
pub fn auto_select_all(self, value: bool) -> Self
pub fn enter_returns_true(self, value: bool) -> Self
pub fn allow_tab_input(self, value: bool) -> Self
pub fn no_horizontal_scroll(self, value: bool) -> Self
sourcepub fn always_insert_mode(self, value: bool) -> Self
pub fn always_insert_mode(self, value: bool) -> Self
Note: this is equivalent to always_overwrite