Enum cpp_to_rust::cpp_method::ReturnValueAllocationPlace [] [src]

pub enum ReturnValueAllocationPlace {
    Stack,
    Heap,
    NotApplicable,
}

Variants

the method returns a class object by value (or is a constructor), and it's translated to "output" FFI argument and placement new

the method returns a class object by value (or is a constructor), and it's translated to pointer FFI return type and plain new

the method does not return a class object by value, so there is only one FFI wrapper for it

Trait Implementations

impl Debug for ReturnValueAllocationPlace
[src]

Formats the value using the given formatter.

impl PartialEq for ReturnValueAllocationPlace
[src]

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

This method tests for !=.

impl Eq for ReturnValueAllocationPlace
[src]

impl Clone for ReturnValueAllocationPlace
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for ReturnValueAllocationPlace
[src]

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

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