Function nativeshell::util::update_diff [−][src]
pub fn update_diff<'a, T: PartialEq, F>(
old: &'a [T],
new: &'a [T],
can_update: F
) -> Vec<DiffResult<&'a T>> where
F: Fn(&T, &T) -> bool,
pub fn update_diff<'a, T: PartialEq, F>(
old: &'a [T],
new: &'a [T],
can_update: F
) -> Vec<DiffResult<&'a T>> where
F: Fn(&T, &T) -> bool,