[][src]Enum polyp::Ui

pub enum Ui {
    Value(Value),
    TextField {
        current_text: String,
        cursor_idx: usize,
    },
}

Variants

Value(Value)
TextField

Fields of TextField

current_text: Stringcursor_idx: usize

Trait Implementations

impl Debug for Ui[src]

impl<'de> Deserialize<'de> for Ui[src]

impl Serialize for Ui[src]

Auto Trait Implementations

impl RefUnwindSafe for Ui

impl Send for Ui

impl Sync for Ui

impl Unpin for Ui

impl UnwindSafe for Ui

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.