Struct clang::sonar::Declaration[][src]

pub struct Declaration<'tu> {
    pub name: String,
    pub entity: Entity<'tu>,
    pub source: Option<Entity<'tu>>,
}

A C declaration.

Fields

The name of the declaration.

The entity that describes the declaration (e.g., contains the fields of a struct).

The entity the declaration originated from if it differs from entity.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

This method tests for !=.

impl<'tu> Eq for Declaration<'tu>
[src]

Auto Trait Implementations

impl<'tu> !Send for Declaration<'tu>

impl<'tu> !Sync for Declaration<'tu>