Enum conrod::widget::list_select::Selection [] [src]

pub enum Selection<H: BuildHasher = RandomState> {
    Add(HashSet<usize, H>),
    Remove(HashSet<usize, H>),
}

Represents some change in item selection for a ListSelect in Multiple mode.

Variants

Items which have been added to the selection.

Items which have been removed from the selection.

Methods

impl<H: BuildHasher> Selection<H>
[src]

Update the given slice of bools with this Selection.

Each index in the Selection represents and index into the slice.

Update the given set of selected indices with this Selection.

Trait Implementations

impl<H: Clone + BuildHasher> Clone for Selection<H>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<H: Debug + BuildHasher> Debug for Selection<H>
[src]

Formats the value using the given formatter.