Struct rustdoc::clean::types::Import [−][src]
pub(crate) struct Import {
pub(crate) kind: ImportKind,
pub(crate) source: ImportSource,
pub(crate) should_be_displayed: bool,
}Fields
kind: ImportKindsource: ImportSourceshould_be_displayed: boolImplementations
pub(crate) fn new_simple(
name: Symbol,
source: ImportSource,
should_be_displayed: bool
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Import
impl UnwindSafe for Import
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
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: 72 bytes