Struct rustc_middle::hir::exports::Export [−][src]
pub struct Export<Id> {
pub ident: Ident,
pub res: Res<Id>,
pub span: Span,
pub vis: Visibility,
}Fields
ident: IdentThe name of the target.
res: Res<Id>The resolution of the target.
span: SpanThe span of the target.
vis: VisibilityThe visibility of the export.
We include non-pub exports for hygienic macros that get used from extern crates.
Implementations
Trait Implementations
impl<'__ctx, Id> HashStable<StableHashingContext<'__ctx>> for Export<Id> where
Id: HashStable<StableHashingContext<'__ctx>>,
impl<'__ctx, Id> HashStable<StableHashingContext<'__ctx>> for Export<Id> where
Id: HashStable<StableHashingContext<'__ctx>>, Auto Trait Implementations
impl<Id> RefUnwindSafe for Export<Id> where
Id: RefUnwindSafe, impl<Id> UnwindSafe for Export<Id> where
Id: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.