Trait rustc_resolve::ToNameBinding
[−]
[src]
pub trait ToNameBinding<'a> { fn to_name_binding(
self,
arenas: &'a ResolverArenas<'a>
) -> &'a NameBinding<'a>; }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Required Methods
fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Implementations on Foreign Types
impl<'a> ToNameBinding<'a> for (&'a ModuleData<'a>, Visibility, Span, Mark)
[src]
impl<'a> ToNameBinding<'a> for (&'a ModuleData<'a>, Visibility, Span, Mark)
fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>
[src]
fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl<'a> ToNameBinding<'a> for (Def, Visibility, Span, Mark)
[src]
impl<'a> ToNameBinding<'a> for (Def, Visibility, Span, Mark)
fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>
[src]
fn to_name_binding(self, arenas: &'a ResolverArenas<'a>) -> &'a NameBinding<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Implementors
impl<'a> ToNameBinding<'a> for &'a NameBinding<'a>