Enum cbindgen::Language
[−]
[src]
pub enum Language { Cxx, C, }
A language type to generate bindings for.
Variants
Cxx
C
Trait Implementations
impl Debug for Language
[src]
impl Clone for Language
[src]
fn clone(&self) -> Language
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 PartialEq for Language
[src]
fn eq(&self, __arg_0: &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
This method tests for !=
.
impl FromStr for Language
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Language, Self::Err>
Parses a string s
to return a value of this type. Read more
impl Deserialize for Language
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer,
D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more