[][src]Struct nannou::ui::prelude::widget::list_select::Events

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

An iterator-like type for yielding ListSelect Events.

Methods

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

pub fn next<F>(
    &mut self,
    ui: &Ui,
    is_selected: F
) -> Option<Event<<M as Mode>::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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> SetParameter for T

impl<T> SetParameter for T

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