pub enum WidgetType {
Textbox,
Slider,
Dropdown,
Button,
Image,
BarChart,
LineChart,
Gauge,
Table,
Markdown,
Inference,
}Expand description
Widget types.
Variants§
Textbox
Text input field
Slider
Numeric slider
Dropdown
Selection dropdown
Button
Clickable button
Image
Image display
BarChart
Bar chart visualization
LineChart
Line chart visualization
Gauge
Single-value gauge
Table
Data table
Markdown
Markdown content
Inference
Model inference runner
Trait Implementations§
Source§impl Clone for WidgetType
impl Clone for WidgetType
Source§fn clone(&self) -> WidgetType
fn clone(&self) -> WidgetType
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 WidgetType
impl Debug for WidgetType
Source§impl<'de> Deserialize<'de> for WidgetType
impl<'de> Deserialize<'de> for WidgetType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WidgetType
impl PartialEq for WidgetType
Source§impl Serialize for WidgetType
impl Serialize for WidgetType
impl Copy for WidgetType
impl Eq for WidgetType
impl StructuralPartialEq for WidgetType
Auto Trait Implementations§
impl Freeze for WidgetType
impl RefUnwindSafe for WidgetType
impl Send for WidgetType
impl Sync for WidgetType
impl Unpin for WidgetType
impl UnsafeUnpin for WidgetType
impl UnwindSafe for WidgetType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.