logo
pub trait Special {
    fn get_value(&'a self, att_name: &'static str) -> Option<&'a Value>;

    fn get_key(&self) -> Option<&Value> { ... }
    fn is_focused(&self) -> bool { ... }
}
Expand description

Special Node attributes that are treated differently such as key and skip which both greatly affects the diffing algorithm

Required Methods

get the first attribute value with this attribute name

Provided Methods

return the value of “key” attribute

return the boolean value of the “focus” attribute of this node

Implementors