[−][src]Struct conrod_core::widget::list_select::Single
A single item selection Mode
for the ListSelect
.
Trait Implementations
impl Clone for Single
[src]
impl Copy for Single
[src]
impl Mode for Single
[src]
type Selection = usize
The data associated with the Mode
s Event::Selection
.
fn click_selection<F, D, S>(
&self,
_: Click,
i: usize,
_num_items: usize,
state: &State,
_is_selected: F,
pending: &mut PendingEvents<Self::Selection, D, S>
) where
F: Fn(usize) -> bool,
[src]
&self,
_: Click,
i: usize,
_num_items: usize,
state: &State,
_is_selected: F,
pending: &mut PendingEvents<Self::Selection, D, S>
) where
F: Fn(usize) -> bool,
fn key_selection<F, D, S>(
&self,
press: KeyPress,
_i: usize,
num_items: usize,
state: &State,
_is_selected: F,
pending: &mut PendingEvents<Self::Selection, D, S>
) where
F: Fn(usize) -> bool,
D: Direction,
[src]
&self,
press: KeyPress,
_i: usize,
num_items: usize,
state: &State,
_is_selected: F,
pending: &mut PendingEvents<Self::Selection, D, S>
) where
F: Fn(usize) -> bool,
D: Direction,
Auto Trait Implementations
impl RefUnwindSafe for Single
impl Send for Single
impl Sync for Single
impl Unpin for Single
impl UnwindSafe for Single
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,