rustc_resolve

# Trait ToNameBinding

source

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

## Required Methods§

source

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

## Implementations on Foreign Types§

source§

### impl<'ra> ToNameBinding<'ra> for Interned<'ra, NameBindingData<'ra>>

source§

#### fn to_name_binding( self, _: &'ra ResolverArenas<'ra>, ) -> Interned<'ra, NameBindingData<'ra>>

source§

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

source§

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

source§

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

source§

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

## Implementors§