pub struct NumberField { /* private fields */ }Expand description
Implementations§
Source§impl NumberField
impl NumberField
Sourcepub fn description(self, desc: impl Into<String>) -> Self
pub fn description(self, desc: impl Into<String>) -> Self
Set description/helper text below the field
Sourcepub fn show(self, ui: &mut Ui, value: &mut f32) -> NumberFieldResponse
pub fn show(self, ui: &mut Ui, value: &mut f32) -> NumberFieldResponse
Show the number field
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NumberField
impl RefUnwindSafe for NumberField
impl Send for NumberField
impl Sync for NumberField
impl Unpin for NumberField
impl UnsafeUnpin for NumberField
impl UnwindSafe for NumberField
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