Skip to main content

selected

Function selected 

Source
pub fn selected<P: Selectable>(
    reader: &Reader<'_>,
    picks: &[PickedElement],
) -> Vec<P>
Expand description

The values a reference field holds after an event sent it picks: what it held, as it held it, and the clicks an editor added to it, each the value it selects (see Selectable::select). A click that selects a value held already takes it out again; one that selects none is dropped.