Enum cpp_to_rust_generator::cpp_method::ReturnValueAllocationPlace
[−]
[src]
pub enum ReturnValueAllocationPlace { Stack, Heap, NotApplicable, }
Chosen type allocation place for the method
Variants
Stack
The method returns a class object by value (or is a constructor), and it's translated to "output" FFI argument and placement new
Heap
The method returns a class object by value (or is a constructor), and it's translated to pointer FFI return type and plain new
NotApplicable
The method does not return a class object by value, so the direct equivalent of the value is used in FFI.
Trait Implementations
impl Debug for ReturnValueAllocationPlace
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ReturnValueAllocationPlace
[src]
fn eq(&self, __arg_0: &ReturnValueAllocationPlace) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for ReturnValueAllocationPlace
[src]
impl Clone for ReturnValueAllocationPlace
[src]
fn clone(&self) -> ReturnValueAllocationPlace
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more