[][src]Enum clang::Language

#[repr(C)]pub enum Language {
    C,
    Cpp,
    ObjectiveC,
    Swift,
}

Indicates the language used by a declaration.

Variants

C

The declaration uses the C programming language.

Cpp

The declaration uses the C++ programming language.

ObjectiveC

The declaration uses the Objective-C programming language.

Swift

The declaration uses the Swift programming language.

Only produced by libclang 5.0 and later.

Trait Implementations

impl Clone for Language[src]

impl Copy for Language[src]

impl Debug for Language[src]

impl Eq for Language[src]

impl Hash for Language[src]

impl PartialEq<Language> for Language[src]

impl StructuralEq for Language[src]

impl StructuralPartialEq for Language[src]

Auto Trait Implementations

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.