Function diff

Source
pub fn diff<'a, Message, Command, O, N, S, K>(
    old: O,
    new: N,
    storage: S,
) -> PatchSet<'a, Message, Command, K>
where Message: 'a + PartialEq + Clone + Debug, O: IntoIterator<Item = DomItem<'a, Message, Command, K>>, N: IntoIterator<Item = DomItem<'a, Message, Command, K>>, S: IntoIterator<Item = &'a mut WebItem<Message>>, K: Eq + Hash,
Expand description

Return the series of steps required to move from the given old/existing virtual dom to the given new virtual dom.