Struct clang::sonar::Definition
[−]
[src]
pub struct Definition<'tu> { pub name: String, pub value: DefinitionValue, pub entity: Entity<'tu>, }
A C preprocessor definition.
Fields
name: String
The name of the definition.
value: DefinitionValue
The value of the definition.
entity: Entity<'tu>
The entity that describes the definition.
Trait Implementations
impl<'tu> Clone for Definition<'tu>
[src]
fn clone(&self) -> Definition<'tu>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'tu> Debug for Definition<'tu>
[src]
impl<'tu> PartialEq for Definition<'tu>
[src]
fn eq(&self, __arg_0: &Definition<'tu>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Definition<'tu>) -> bool
This method tests for !=
.