Struct rustdoc::doctree::Module
[−]
[src]
pub struct Module {
pub name: Option<Ident>,
pub attrs: Vec<Attribute>,
pub where_outer: Span,
pub where_inner: Span,
pub extern_crates: Vec<ExternCrate>,
pub imports: Vec<Import>,
pub structs: Vec<Struct>,
pub enums: Vec<Enum>,
pub fns: Vec<Function>,
pub mods: Vec<Module>,
pub id: NodeId,
pub typedefs: Vec<Typedef>,
pub statics: Vec<Static>,
pub constants: Vec<Constant>,
pub traits: Vec<Trait>,
pub vis: Visibility,
pub stab: Option<Stability>,
pub impls: Vec<Impl>,
pub def_traits: Vec<DefaultImpl>,
pub foreigns: Vec<ForeignMod>,
pub macros: Vec<Macro>,
pub is_crate: bool,
}Unstable
Fields
name | Unstable |
attrs | Unstable |
where_outer | Unstable |
where_inner | Unstable |
extern_crates | Unstable |
imports | Unstable |
structs | Unstable |
enums | Unstable |
fns | Unstable |
mods | Unstable |
id | Unstable |
typedefs | Unstable |
statics | Unstable |
constants | Unstable |
traits | Unstable |
vis | Unstable |
stab | Unstable |
impls | Unstable |
def_traits | Unstable |
foreigns | Unstable |
macros | Unstable |
is_crate | Unstable |