MacCall in rustc_ast::ast - Rust (original) (raw)

pub struct MacCall {
    pub path: Path,
    pub args: P<DelimArgs>,
}

Expand description

Represents a macro invocation. The path indicates which macro is being invoked, and the args are arguments passed to it.

Fields§

§path: [Path](struct.Path.html "struct rustc_ast::ast::Path")§args: [P](../ptr/struct.P.html "struct rustc_ast::ptr::P")<[DelimArgs](struct.DelimArgs.html "struct rustc_ast::ast::DelimArgs")>

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl DynSend for MacCall

§

impl DynSync for MacCall

§

impl Freeze for MacCall

§

impl RefUnwindSafe for MacCall

§

impl Send for MacCall

§

impl Sync for MacCall

§

impl Unpin for MacCall

§

impl UnwindSafe for MacCall

Blanket Implementations§

Layout§

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