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

Items which have been added to the selection.

Items which have been removed from the selection.

Methods

impl Selection
[src]

[src]

Update the given slice of bools with this Selection.

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

[src]

Update the given set of selected indices with this Selection.

Trait Implementations

impl Clone for Selection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Selection
[src]

[src]

Formats the value using the given formatter. Read more