Struct arcdps_imgui::InputFloat2
source · pub struct InputFloat2<'ui, 'p, L> { /* private fields */ }
Implementations§
source§impl<'ui, 'p, L: AsRef<str>> InputFloat2<'ui, 'p, L>
impl<'ui, 'p, L: AsRef<str>> InputFloat2<'ui, 'p, L>
pub fn new(ui: &'ui Ui<'ui>, label: L, value: &'p mut [f32; 2]) -> Self
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
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 InputFloat2<'ui, 'p, L>where
L: Freeze,
impl<'ui, 'p, L> !RefUnwindSafe for InputFloat2<'ui, 'p, L>
impl<'ui, 'p, L> !Send for InputFloat2<'ui, 'p, L>
impl<'ui, 'p, L> !Sync for InputFloat2<'ui, 'p, L>
impl<'ui, 'p, L> Unpin for InputFloat2<'ui, 'p, L>where
L: Unpin,
impl<'ui, 'p, L> !UnwindSafe for InputFloat2<'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