rustc_resolve

Type Alias NameBinding

Source
pub(crate) type NameBinding<'ra> = Interned<'ra, NameBindingData<'ra>>;
Expand description

All name bindings are unique and allocated on a same arena, so we can use referential equality to compare them.

Aliased Type§

struct NameBinding<'ra>(pub &'ra NameBindingData<'ra>, pub PrivateZst);

Fields§

§0: &'ra NameBindingData<'ra>§1: PrivateZst

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes