pub(crate) enum LexicalScopeBinding<'a> {
Item(&'a NameBinding<'a>),
Res(Res<NodeId>),
}Expand description
An intermediate resolution result.
This refers to the thing referred by a name. The difference between Res and Item is that
items are visible in their whole block, while Reses only from the place they are defined
forward.
Variants
Item(&'a NameBinding<'a>)
Res(Res<NodeId>)
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LexicalScopeBinding
impl<'a> !Send for LexicalScopeBinding
impl<'a> !Sync for LexicalScopeBinding
impl<'a> Unpin for LexicalScopeBinding
impl<'a> !UnwindSafe for LexicalScopeBinding
Blanket Implementations
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: 32 bytes
Size for each variant:
Item: 12 bytesRes: 24 bytes