Trait selectors::MatchAttr [] [src]

pub trait MatchAttr {
    type Impl: SelectorImpl;
    fn match_attr_has(&self, attr: &AttrSelector<Self::Impl>) -> bool;
    fn match_attr_equals(&self,
                         attr: &AttrSelector<Self::Impl>,
                         value: &Self::Impl::AttrValue)
                         -> bool; fn match_attr_equals_ignore_ascii_case(&self,
                                           attr: &AttrSelector<Self::Impl>,
                                           value: &Self::Impl::AttrValue)
                                           -> bool; fn match_attr_includes(&self,
                           attr: &AttrSelector<Self::Impl>,
                           value: &Self::Impl::AttrValue)
                           -> bool; fn match_attr_dash(&self,
                       attr: &AttrSelector<Self::Impl>,
                       value: &Self::Impl::AttrValue)
                       -> bool; fn match_attr_prefix(&self,
                         attr: &AttrSelector<Self::Impl>,
                         value: &Self::Impl::AttrValue)
                         -> bool; fn match_attr_substring(&self,
                            attr: &AttrSelector<Self::Impl>,
                            value: &Self::Impl::AttrValue)
                            -> bool; fn match_attr_suffix(&self,
                         attr: &AttrSelector<Self::Impl>,
                         value: &Self::Impl::AttrValue)
                         -> bool; }

Associated Types

Required Methods

Implementors