Struct arcdps_imgui::InputFloat
source · pub struct InputFloat<'ui, 'p, L> { /* private fields */ }
Implementations§
source§impl<'ui, 'p, L: AsRef<str>> InputFloat<'ui, 'p, L>
impl<'ui, 'p, L: AsRef<str>> InputFloat<'ui, 'p, L>
pub fn new(ui: &'ui Ui<'ui>, label: L, value: &'p mut f32) -> Self
pub fn build(self) -> bool
pub fn step(self, value: f32) -> Self
pub fn step_fast(self, value: f32) -> Self
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
pub fn always_overwrite(self, value: bool) -> Self
pub fn read_only(self, value: bool) -> Self
pub fn password(self, value: bool) -> Self
pub fn no_undo_redo(self, value: bool) -> Self
Auto Trait Implementations§
impl<'ui, 'p, L> Freeze for InputFloat<'ui, 'p, L>where
L: Freeze,
impl<'ui, 'p, L> !RefUnwindSafe for InputFloat<'ui, 'p, L>
impl<'ui, 'p, L> !Send for InputFloat<'ui, 'p, L>
impl<'ui, 'p, L> !Sync for InputFloat<'ui, 'p, L>
impl<'ui, 'p, L> Unpin for InputFloat<'ui, 'p, L>where
L: Unpin,
impl<'ui, 'p, L> !UnwindSafe for InputFloat<'ui, 'p, L>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more