pub fn lookup_field(&self, name: &Ident) -> Option<&RcType> {
        match *self.inner {
            Type::Struct(_, ref fields) => lookup_field(fields, name),
            _ => None,
        }
    }
/// Attempt to lookup the type of a field
///
/// Returns `None` if the type is not a struct or the field is not
/// present in the struct.
Attempt to lookup the type of a field
Returns `None` if the type is not a struct or the field is not
present in the struct.
Attempt to lookup the type of a field Returns ` None ` if the type is not a struct or the field is not present in the struct .
pub fn lookup_field(&self, name: &Ident) -> Option<&RcType> {
        match *self.inner {
            Type::Struct(_, ref fields) => lookup_field(fields, name),
            _ => None,
        }
    }
pub fn lookup_field ( & self , name : & Ident ) -> Option < & RcType > { match * self . inner { Type :: Struct ( _ , ref fields ) => lookup_field ( fields , name ) , _ => None , } }
Attempt to lookup the type of a field
Returns `None` if the type is not a struct or the field is not
present in the struct.
Attempt to lookup the type of a field Returns ` None ` if the type is not a struct or the field is not present in the struct .
&self
name
&Ident
&self
name
&Ident