Enum ymc::select::ListIndex[][src]

pub enum ListIndex {
    Single(Option<usize>),
    Multi(HashSet<usize>),
}

The MWCListIndex type

Documentation

Variants

Single(Option<usize>)

Provided when multi prop is set to true on the component

None denotes value os -1

Multi(HashSet<usize>)

Provided when multi prop is set to false (default) on the component

Trait Implementations

impl Debug for ListIndex[src]

impl From<JsValue> for ListIndex[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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.