Struct conrod::widget::list_select::Multiple
[−]
[src]
pub struct Multiple;
A selection Mode
for the ListSelect
that allows selecting more than one item at a time.
Trait Implementations
impl Copy for Multiple
[src]
impl Clone for Multiple
[src]
fn clone(&self) -> Multiple
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Mode for Multiple
[src]
type Selection = Selection
The data associated with the Mode
s Event::Selection
.
fn click_selection<F>(&self,
click: Click,
i: usize,
num_items: usize,
state: &State,
is_selected: F,
pending: &mut PendingEvents<Self::Selection>) where F: Fn(usize) -> bool
click: Click,
i: usize,
num_items: usize,
state: &State,
is_selected: F,
pending: &mut PendingEvents<Self::Selection>) where F: Fn(usize) -> bool
Update the PendingEvents
in accordance with the given Click
event.
fn key_selection<F>(&self,
press: KeyPress,
_i: usize,
num_items: usize,
state: &State,
is_selected: F,
pending: &mut PendingEvents<Self::Selection>) where F: Fn(usize) -> bool
press: KeyPress,
_i: usize,
num_items: usize,
state: &State,
is_selected: F,
pending: &mut PendingEvents<Self::Selection>) where F: Fn(usize) -> bool
Update the PendingEvents
in accordance with the given KeyPress
event.