Enum conrod::widget::list_select::Selection
[−]
[src]
pub enum Selection {
Add(HashSet<usize>),
Remove(HashSet<usize>),
}Represents some change in item selection for a ListSelect in Multiple mode.
Variants
Add(HashSet<usize>)Items which have been added to the selection.
Remove(HashSet<usize>)Items which have been removed from the selection.
Methods
impl Selection[src]
pub fn update_bool_slice(&self, slice: &mut [bool])[src]
Update the given slice of bools with this Selection.
Each index in the Selection represents and index into the slice.
pub fn update_index_set(&self, set: &mut HashSet<usize>)[src]
Update the given set of selected indices with this Selection.
Trait Implementations
impl Clone for Selection[src]
fn clone(&self) -> Selection[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more