fn eq(&self, other: &Self) -> bool {
        // match operator on a tuple - Rust is just awesome
        match (self, other) {
            (Ident::All, Ident::All) => true,
            (Ident::All, Ident::Name(_)) => true,
            (Ident::Name(_), Ident::All) => true,
            (Ident::Name(a), Ident::Name(b)) => a == b,
            _ => false,
        }
    }
/// PartialEq implementation for the ident.
///
/// None is always returning false
/// All is returning true against All and Name
/// Name is returning true when compared against matching name or All
PartialEq implementation for the ident.
None is always returning false
All is returning true against All and Name
Name is returning true when compared against matching name or All
PartialEq implementation for the ident . None is always returning false All is returning true against All and Name Name is returning true when compared against matching name or All
fn eq(&self, other: &Self) -> bool {
        // match operator on a tuple - Rust is just awesome
        match (self, other) {
            (Ident::All, Ident::All) => true,
            (Ident::All, Ident::Name(_)) => true,
            (Ident::Name(_), Ident::All) => true,
            (Ident::Name(a), Ident::Name(b)) => a == b,
            _ => false,
        }
    }
fn eq ( & self , other : & Self ) -> bool { // match operator on a tuple - Rust is just awesome match ( self , other ) { ( Ident :: All , Ident :: All ) => true , ( Ident :: All , Ident :: Name ( _ ) ) => true , ( Ident :: Name ( _ ) , Ident :: All ) => true , ( Ident :: Name ( a ) , Ident :: Name ( b ) ) => a == b , _ => false , } }
PartialEq implementation for the ident.
PartialEq implementation for the ident .
&self
other
&Self
&self
other
&Self