Skip to main content

apply_box

Function apply_box 

Source
pub fn apply_box<T: Clone + 'static, K: Clone + PartialEq>(
    model: &impl Model<Data = T>,
    key: impl Fn(&T) -> K,
    flag: impl Fn(&mut T) -> &mut bool,
    hits: Vec<K>,
    shift: bool,
)
Expand description

Apply a released marquee to a model whose rows carry the selection.

The mirror of apply_click for resolve_box.