logo

Function sauron::diff

source · []
pub fn diff<MSG>(
    old: &'a Node<&'static str, &'static str, Leaf, &'static str, AttributeValue<MSG>>,
    new: &'a Node<&'static str, &'static str, Leaf, &'static str, AttributeValue<MSG>>
) -> Vec<Patch<'a, &'static str, &'static str, Leaf, &'static str, AttributeValue<MSG>>, Global>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
where
    MSG: 'static, 
Expand description

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