Struct cpp_to_rust_generator::cpp_type::CppTypeClassBase [] [src]

pub struct CppTypeClassBase {
    pub name: String,
    pub template_arguments: Option<Vec<CppType>>,
}

Information about base C++ class type

Fields

Name, including namespaces and nested classes

For template classes, C++ types used as template arguments in this type, like [QString, int] in QHash<QString, int>

Methods

impl CppTypeClassBase
[src]

[src]

Returns C++ code representing this type.

[src]

Returns string representation of this type for the purpose of function name generation.

[src]

Attempts to replace template types at nested_level1 within this type with template_arguments1.

[src]

Returns string representation of this type for debugging output.

Trait Implementations

impl Debug for CppTypeClassBase
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for CppTypeClassBase
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for CppTypeClassBase
[src]

impl Clone for CppTypeClassBase
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for CppTypeClassBase
[src]

[src]

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

1.3.0
[src]

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

Auto Trait Implementations