[][src]Struct conrod_core::widget::list_select::Events

pub struct Events<M, D, S> where
    M: Mode
{ /* fields omitted */ }

An iterator-like type for yielding ListSelect Events.

Implementations

impl<M, D, S> Events<M, D, S> where
    M: Mode,
    D: Direction,
    S: ItemSize
[src]

pub fn next<F>(
    &mut self,
    ui: &Ui,
    is_selected: F
) -> Option<Event<M::Selection, D, S>> where
    F: Fn(usize) -> bool
[src]

Yield the next Event.

Auto Trait Implementations

impl<M, D, S> RefUnwindSafe for Events<M, D, S> where
    D: RefUnwindSafe,
    M: RefUnwindSafe,
    S: RefUnwindSafe,
    <M as Mode>::Selection: RefUnwindSafe

impl<M, D, S> Send for Events<M, D, S> where
    D: Send,
    M: Send,
    S: Send,
    <M as Mode>::Selection: Send

impl<M, D, S> Sync for Events<M, D, S> where
    D: Sync,
    M: Sync,
    S: Sync,
    <M as Mode>::Selection: Sync

impl<M, D, S> Unpin for Events<M, D, S> where
    D: Unpin,
    M: Unpin,
    S: Unpin,
    <M as Mode>::Selection: Unpin

impl<M, D, S> UnwindSafe for Events<M, D, S> where
    D: UnwindSafe,
    M: UnwindSafe,
    S: UnwindSafe,
    <M as Mode>::Selection: UnwindSafe

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.