Struct cpp_to_rust::cpp_method::CppFunctionArgument [] [src]

pub struct CppFunctionArgument {
    pub name: String,
    pub argument_type: CppType,
    pub has_default_value: bool,
}

Information about an argument of a C++ method

Fields

Identifier. If the argument doesn't have a name (which is allowed in C++), this field contains generated name "argX" (X is position of the argument).

Argument type

Flag indicating that the argument has default value and therefore can be omitted when calling the method

Trait Implementations

impl Hash for CppFunctionArgument
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for CppFunctionArgument
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CppFunctionArgument
[src]

impl PartialEq for CppFunctionArgument
[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 CppFunctionArgument
[src]

Formats the value using the given formatter.