Lines Matching full:atom
6 pub enum Atom { enum
25 impl Atom { impl
31 use self::Atom::*; in from_str()
54 impl Display for Atom { implementation
60 impl AsRef<str> for Atom { implementation
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
87 Type::Ident(ident) => ident.rust == atom, in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom) -> bool { in eq()
95 *self == atom in eq()
99 impl PartialEq<Atom> for &Type {
100 fn eq(&self, atom: &Atom) -> bool { in eq()
101 *self == atom in eq()