Skip to main content

AttributeCheck

Trait AttributeCheck 

Source
pub trait AttributeCheck {
    // Required method
    fn has_attr(&self, name: &str) -> bool;
}
Expand description

Public trait for attribute checking

Required Methods§

Source

fn has_attr(&self, name: &str) -> bool

Implementors§

Source§

impl<T: HasAttributes> AttributeCheck for T