Enum rustc_target::abi::call::PassMode [−][src]
pub enum PassMode { Ignore, Direct(ArgAttributes), Pair(ArgAttributes, ArgAttributes), Cast(CastTarget), Indirect(ArgAttributes, Option<ArgAttributes>), }
Variants
Ignore
Ignore the argument (useful for empty struct).
Direct(ArgAttributes)
Pass the argument directly.
Pair(ArgAttributes, ArgAttributes)
Pass a pair's elements directly in two arguments.
Cast(CastTarget)
Pass the argument after casting it, to either a single uniform or a pair of registers.
Indirect(ArgAttributes, Option<ArgAttributes>)
Pass the argument indirectly via a hidden pointer. The second value, if any, is for the extra data (vtable or length) which indicates that it refers to an unsized rvalue.
Trait Implementations
impl Clone for PassMode
[src]
impl Clone for PassMode
fn clone(&self) -> PassMode
[src]
fn clone(&self) -> PassMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for PassMode
[src]
impl Copy for PassMode
impl PartialEq for PassMode
[src]
impl PartialEq for PassMode
fn eq(&self, other: &PassMode) -> bool
[src]
fn eq(&self, other: &PassMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PassMode) -> bool
[src]
fn ne(&self, other: &PassMode) -> bool
This method tests for !=
.
impl Eq for PassMode
[src]
impl Eq for PassMode
impl Debug for PassMode
[src]
impl Debug for PassMode