[][src]Function sauron_vdom::diff

pub fn diff<'a, T, EVENT, MSG>(
    old: &'a Node<T, &'static str, EVENT, MSG>,
    new: &'a Node<T, &'static str, EVENT, MSG>
) -> Vec<Patch<'a, T, &'static str, EVENT, MSG>> where
    MSG: 'static,
    EVENT: 'static,
    T: PartialEq

This is a sauron html specific functionality diff 2 nodes with attribute using &'static str instead of generic ATT