1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use super::*;
impl Eq for CssInstance {}
impl PartialEq<Self> for CssInstance {
    fn eq(&self, other: &Self) -> bool {
        self.selector.eq(&other.selector)
    }
}
impl PartialOrd<Self> for CssInstance {
    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
        self.selector.partial_cmp(&other.selector)
    }
}
impl Ord for CssInstance {
    fn cmp(&self, other: &Self) -> Ordering {
        self.selector.cmp(&other.selector)
    }
}