Skip to main content

CaseSensitivityExt

Trait CaseSensitivityExt 

Source
pub trait CaseSensitivityExt {
    // Required method
    fn eq_atom(self, a: &WeakAtom, b: &WeakAtom) -> bool;
}
Expand description

Extension methods for selectors::attr::CaseSensitivity

Required Methods§

Source

fn eq_atom(self, a: &WeakAtom, b: &WeakAtom) -> bool

Return whether two atoms compare equal according to this case sensitivity.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CaseSensitivityExt for CaseSensitivity

Source§

fn eq_atom(self, a: &WeakAtom, b: &WeakAtom) -> bool

Implementors§