Struct cpp_to_rust::cpp_data::CppEnumValue
[−]
[src]
pub struct CppEnumValue { pub name: String, pub value: i64, pub doc: Option<String>, }
One item of a C++ enum declaration
Fields
name: String
Identifier
value: i64
Corresponding value
doc: Option<String>
C++ documentation for this item in HTML
Trait Implementations
impl Clone for CppEnumValue
[src]
fn clone(&self) -> CppEnumValue
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 Eq for CppEnumValue
[src]
impl PartialEq for CppEnumValue
[src]
fn eq(&self, __arg_0: &CppEnumValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CppEnumValue) -> bool
This method tests for !=
.