pub enum NumericWidgetKind {
Input,
Drag,
Slider,
}Expand description
Preferred widget style for numeric fields of a given primitive type.
Variants§
Input
Input-style widget (InputScalar / input_int / input_float).
Drag
Drag-style widget (DragScalar).
Slider
Slider-style widget (SliderScalar).
Trait Implementations§
Source§impl Clone for NumericWidgetKind
impl Clone for NumericWidgetKind
Source§fn clone(&self) -> NumericWidgetKind
fn clone(&self) -> NumericWidgetKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NumericWidgetKind
impl Debug for NumericWidgetKind
impl Copy for NumericWidgetKind
Auto Trait Implementations§
impl Freeze for NumericWidgetKind
impl RefUnwindSafe for NumericWidgetKind
impl Send for NumericWidgetKind
impl Sync for NumericWidgetKind
impl Unpin for NumericWidgetKind
impl UnwindSafe for NumericWidgetKind
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