pub fn lookup_repr_hints(self, did: DefId) -> Rc<Vec<attr::ReprAttr>> {
        self.repr_hint_cache.memoize(did, || {
            Rc::new(self.get_attrs(did).iter().flat_map(|meta| {
                attr::find_repr_attrs(self.sess.diagnostic(), meta).into_iter()
            }).collect())
        })
    }
/// Obtain the representation annotation for a struct definition.
Obtain the representation annotation for a struct definition.
Obtain the representation annotation for a struct definition .
pub fn lookup_repr_hints(self, did: DefId) -> Rc<Vec<attr::ReprAttr>> {
        self.repr_hint_cache.memoize(did, || {
            Rc::new(self.get_attrs(did).iter().flat_map(|meta| {
                attr::find_repr_attrs(self.sess.diagnostic(), meta).into_iter()
            }).collect())
        })
    }
pub fn lookup_repr_hints ( self , did : DefId ) -> Rc < Vec < attr :: ReprAttr > > { self . repr_hint_cache . memoize ( did , | | { Rc :: new ( self . get_attrs ( did ) . iter ( ) . flat_map ( | meta | { attr :: find_repr_attrs ( self . sess . diagnostic ( ) , meta ) . into_iter ( ) } ) . collect ( ) ) } ) }
Obtain the representation annotation for a struct definition.
Obtain the representation annotation for a struct definition .
self
did
DefId