Struct clang::sonar::Definition [] [src]

pub struct Definition<'tu> {
    pub name: String,
    pub value: DefinitionValue,
    pub entity: Entity<'tu>,
}

A C preprocessor definition.

Fields

The name of the definition.

The value of the definition.

The entity that describes the definition.

Trait Implementations

impl<'tu> Clone for Definition<'tu>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tu> Debug for Definition<'tu>
[src]

Formats the value using the given formatter.

impl<'tu> PartialEq for Definition<'tu>
[src]

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

This method tests for !=.