[][src]Enum seed_bootstrap::dropdown::Item

pub enum Item<ItemValue> {
    Button {
        title: Cow<'static, str>,
        value: ItemValue,
    },
    A {
        title: Cow<'static, str>,
        value: ItemValue,
        href: Cow<'static, str>,
    },
    Divider,
}

Variants

Button

Fields of Button

title: Cow<'static, str>value: ItemValue
A

Fields of A

title: Cow<'static, str>value: ItemValuehref: Cow<'static, str>
Divider

Implementations

impl<ItemValue> Item<ItemValue>[src]

pub fn button(title: impl Into<Cow<'static, str>>, value: ItemValue) -> Self[src]

pub fn a(
    title: impl Into<Cow<'static, str>>,
    value: ItemValue,
    href: impl Into<Cow<'static, str>>
) -> Self
[src]

pub fn divider() -> Self[src]

Auto Trait Implementations

impl<ItemValue> RefUnwindSafe for Item<ItemValue> where
    ItemValue: RefUnwindSafe
[src]

impl<ItemValue> Send for Item<ItemValue> where
    ItemValue: Send
[src]

impl<ItemValue> Sync for Item<ItemValue> where
    ItemValue: Sync
[src]

impl<ItemValue> Unpin for Item<ItemValue> where
    ItemValue: Unpin
[src]

impl<ItemValue> UnwindSafe for Item<ItemValue> where
    ItemValue: UnwindSafe
[src]

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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,