ModSpans in rustc_ast::ast - Rust (original) (raw)
pub struct ModSpans {
pub inner_span: Span,
pub inject_use_span: Span,
}inner_span covers the body of the module; for a file module, its the whole file. For an inline module, its the span inside the { ... }, not including the curly braces.
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: 16 bytes