Skip to main content

apply_drop_pre_pass

Function apply_drop_pre_pass 

Source
pub fn apply_drop_pre_pass<T, P>(
    ui: &mut Ui,
    vec: &mut Vec<T>,
    drop_idx: Option<usize>,
    filter: impl FnOnce(&P) -> Option<usize>,
    gap_id_prefix: &'static str,
    card_id_prefix: &'static str,
    max_count: usize,
) -> bool
where P: 'static + Send + Sync,
Expand description

Call before rendering the row, with the same gap and card IDs.