Enum rustc_resolve::NameBindingKind [−][src]
pub(crate) enum NameBindingKind<'a> {
Res(Res<NodeId>, bool),
Module(&'a ModuleData<'a>),
Import {
binding: &'a NameBinding<'a>,
import: &'a Import<'a>,
used: Cell<bool>,
},
}Variants
Module(&'a ModuleData<'a>)Show fields
Fields of Import
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for NameBindingKind<'a>impl<'a> !Send for NameBindingKind<'a>impl<'a> !Sync for NameBindingKind<'a>impl<'a> Unpin for NameBindingKind<'a>impl<'a> !UnwindSafe for NameBindingKind<'a>Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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