[−][src]Enum gazpatcho::config::Widget
Widgets are input dialogs shown on a node.
Each widget must have a unique key
within the node it's registered to.
This key
is then used to read values recorded by the user.
Variants
Multiline input provides text box for the user to type into and record a
String
.
Fields of MultilineInput
Slider is a drag and drop dialog allowing users to dial-in a f32
value
within given borders.
Fields of Slider
Trigger is nothing but a simple button. When clicked, it sets value of
given key
to true
. When released, it turns back to false
.
Switch is nothing but a simple button. When clicked, it sets value of
given key
to true
. When clicked again, it turns back to false
.
Drop down menu allows user to select one of the available values.
Fields of DropDown
Auto Trait Implementations
impl RefUnwindSafe for Widget
impl Send for Widget
impl Sync for Widget
impl Unpin for Widget
impl UnwindSafe for Widget
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,