Enum cpp_to_rust_generator::cpp_method::CppMethodKind [] [src]

pub enum CppMethodKind {
    Regular,
    Constructor,
    Destructor,
}

Enumerator indicating special cases of C++ methods.

Variants

Just a class method

Constructor

Destructor

Methods

impl CppMethodKind
[src]

[src]

Returns true if this method is a constructor

[src]

Returns true if this method is a destructor

[src]

Returns true if this method is a regular method or a free function

Trait Implementations

impl Debug for CppMethodKind
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for CppMethodKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for CppMethodKind
[src]

impl Clone for CppMethodKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for CppMethodKind
[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

impl Send for CppMethodKind

impl Sync for CppMethodKind