AttrRefObserver

Trait AttrRefObserver 

Source
pub trait AttrRefObserver: Any {
    // Required methods
    fn attr_defined(
        &mut self,
        name: &str,
        value: &AttrValue,
        name_loc: SourceLocation,
    );
    fn attr_ref_replaced(&mut self, attr_name: &str, loc: SourceLocation);
    fn attr_ref_missing(&mut self, attr_name: &str, loc: SourceLocation);
}

Required Methods§

Source

fn attr_defined( &mut self, name: &str, value: &AttrValue, name_loc: SourceLocation, )

Source

fn attr_ref_replaced(&mut self, attr_name: &str, loc: SourceLocation)

Source

fn attr_ref_missing(&mut self, attr_name: &str, loc: SourceLocation)

Implementors§