Enum cpp_to_rust::cpp_type::CppTypeIndirection [] [src]

pub enum CppTypeIndirection {
    None,
    Ptr,
    Ref,
    PtrRef,
    PtrPtr,
    RValueRef,
}

C++ type variants based on indirection

Variants

No indirection

Pointer, like int*

Reference, like int&

Reference to pointer, like int*&

Pointer to pointer, like int**

R-value reference, like Class&&

Methods

impl CppTypeIndirection
[src]

Trait Implementations

impl Hash for CppTypeIndirection
[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 CppTypeIndirection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CppTypeIndirection
[src]

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

Formats the value using the given formatter.