Enum clang::Language [−][src]
#[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 Copy for Language
[src]
impl Copy for Language
impl Clone for Language
[src]
impl Clone for Language
fn clone(&self) -> Language
[src]
fn clone(&self) -> Language
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Language
[src]
impl Debug for Language
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Language
[src]
impl PartialEq for Language
fn eq(&self, other: &Language) -> bool
[src]
fn eq(&self, other: &Language) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Language
[src]
impl Eq for Language
impl Hash for Language
[src]
impl Hash for Language