DelimArgs in rustc_ast::ast - Rust (original) (raw)
pub struct DelimArgs {
pub dspan: DelimSpan,
pub delim: Delimiter,
pub tokens: TokenStream,
}
Expand description
Delimited arguments, as used in #[attr()/[]/{}]
or mac!()/[]/{}
.
Whether a macro with these arguments needs a semicolon when used as a standalone item or statement.
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: 32 bytes