[−][src]Struct conrod_core::widget::list_select::Events
An iterator-like type for yielding ListSelect
Event
s.
Implementations
impl<M, D, S> Events<M, D, S> where
M: Mode,
D: Direction,
S: ItemSize,
[src]
M: Mode,
D: Direction,
S: ItemSize,
pub fn next<F>(
&mut self,
ui: &Ui,
is_selected: F
) -> Option<Event<M::Selection, D, S>> where
F: Fn(usize) -> bool,
[src]
&mut self,
ui: &Ui,
is_selected: F
) -> Option<Event<M::Selection, D, S>> where
F: Fn(usize) -> bool,
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,
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,
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,
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,
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,
D: UnwindSafe,
M: UnwindSafe,
S: UnwindSafe,
<M as Mode>::Selection: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,