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

Identifier

Corresponding value

C++ documentation for this item in HTML

Trait Implementations

impl Clone for CppEnumValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CppEnumValue
[src]

impl PartialEq for CppEnumValue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for CppEnumValue
[src]

Formats the value using the given formatter.