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

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<'a> ToNameBinding<'a> for Interned<'a, NameBindingData<'a>>

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> ) -> Interned<'a, NameBindingData<'a>>

source§

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

source§

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

Implementors§