Enum clang::sonar::DefinitionValue
[−]
[src]
pub enum DefinitionValue { Integer(bool, u64), Real(f64), }
The value of a C preprocessor definition.
Variants
Integer(bool, u64)
An integer.
Real(f64)
A floating point number.
Trait Implementations
impl Copy for DefinitionValue
[src]
impl Clone for DefinitionValue
[src]
fn clone(&self) -> DefinitionValue
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 Debug for DefinitionValue
[src]
impl PartialEq for DefinitionValue
[src]
fn eq(&self, __arg_0: &DefinitionValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DefinitionValue) -> bool
This method tests for !=
.