Enum cpp_to_rust::cpp_method::ReturnValueAllocationPlace
[−]
[src]
pub enum ReturnValueAllocationPlace { Stack, Heap, NotApplicable, }
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 there is only one FFI wrapper for it
Trait Implementations
impl Debug for ReturnValueAllocationPlace
[src]
impl PartialEq for ReturnValueAllocationPlace
[src]
fn eq(&self, __arg_0: &ReturnValueAllocationPlace) -> bool
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
This method tests for !=
.
impl Eq for ReturnValueAllocationPlace
[src]
impl Clone for ReturnValueAllocationPlace
[src]
fn clone(&self) -> ReturnValueAllocationPlace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more