[]Function sauron::prelude::mt_dom::diff::diff_with_key

pub fn diff_with_key<NS, TAG, ATT, VAL, EVENT, MSG>(
    old_node: &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>,
    new_node: &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>,
    key: &ATT
) -> Vec<Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>, Global>

Notable traits for Vec<u8, Global>

impl Write for Vec<u8, Global>
where
    TAG: PartialEq<TAG> + Debug,
    NS: PartialEq<NS> + Debug,
    ATT: PartialEq<ATT> + Debug,
    VAL: PartialEq<VAL> + Debug

calculate the difference of 2 nodes