pub enum EventValue {
Text(String),
Bool(bool),
Number(f64),
Color(Color),
Rows(Vec<RowKey>),
Sort(ColumnSort),
Index(usize),
}Variants§
Text(String)
Bool(bool)
Number(f64)
A Slider’s or NumberInput’s new value.
Color(Color)
A ColorWell’s new colour, an opaque [Color::Rgba].
Rows(Vec<RowKey>)
A List’s or Table’s selected rows.
Sort(ColumnSort)
The column a Table is sorted by now, and which way.
Index(usize)
The option chosen in a Select or RadioGroup, the item or tab
chosen in a Sidebar, Tabs or DocumentTabs.
Trait Implementations§
Source§impl Clone for EventValue
impl Clone for EventValue
Source§impl Debug for EventValue
impl Debug for EventValue
Source§impl PartialEq for EventValue
impl PartialEq for EventValue
impl StructuralPartialEq for EventValue
Auto Trait Implementations§
impl Freeze for EventValue
impl RefUnwindSafe for EventValue
impl Send for EventValue
impl Sync for EventValue
impl Unpin for EventValue
impl UnsafeUnpin for EventValue
impl UnwindSafe for EventValue
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