Struct cmacros::CMacro [] [src]

pub struct CMacro {
    pub name: String,
    pub args: Option<Vec<String>>,
    pub body: Option<String>,
}

Macro definition parsed from a C header file

Fields

The name of the macro

The arguments to the macro if it is a function-like macro

The text that the macro expands to

Methods

impl CMacro
[src]

Trait Implementations

impl PartialEq for CMacro
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for CMacro
[src]

Formats the value using the given formatter.