pub(crate) trait ToNameBinding<'a> {
    // Required method
    fn to_name_binding(
        self,
        arenas: &'a ResolverArenas<'a>
    ) -> &'a NameBinding<'a>;
}

Required Methods§

source

fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>

Implementations on Foreign Types§

source§

impl<'a, Id: Into<DefId>> ToNameBinding<'a> for (Res<NodeId>, Visibility<Id>, Span, LocalExpnId)

source§

fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>

source§

impl<'a, Id: Into<DefId>> ToNameBinding<'a> for (&'a ModuleData<'a>, Visibility<Id>, Span, LocalExpnId)

source§

fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>

Implementors§

source§

impl<'a> ToNameBinding<'a> for &'a NameBinding<'a>