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

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]

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

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

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

Auto Trait Implementations

impl<'tu> RefUnwindSafe for Definition<'tu>

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

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

impl<'tu> Unpin for Definition<'tu>

impl<'tu> UnwindSafe for Definition<'tu>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.