[−][src]Function sauron::diff
pub fn diff<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
EVENT: 'static,
MSG: 'static,
T: PartialEq<T>,
This is a sauron html specific functionality
diff 2 nodes with attribute using &'static str
instead of generic ATT