Enum rustc::ty::layout::call::PassMode [−][src]
pub enum PassMode {
Ignore,
Direct(ArgAttributes),
Pair(ArgAttributes, ArgAttributes),
Cast(CastTarget),
Indirect(ArgAttributes),
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Ignore🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Ignore the argument (useful for empty struct).
Direct(ArgAttributes)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Pass the argument directly.
Pair(ArgAttributes, ArgAttributes)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Pass a pair's elements directly in two arguments.
Cast(CastTarget)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Pass the argument after casting it, to either a single uniform or a pair of registers.
Indirect(ArgAttributes)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Pass the argument indirectly via a hidden pointer.
Trait Implementations
impl PartialEq<PassMode> for PassMode[src]
impl PartialEq<PassMode> for PassModefn eq(&self, other: &PassMode) -> bool[src]
fn eq(&self, other: &PassMode) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for PassMode[src]
impl Clone for PassModefn clone(&self) -> PassMode[src]
fn clone(&self) -> PassModeReturns 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)Performs copy-assignment from source. Read more
impl Debug for PassMode[src]
impl Debug for PassModefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for PassMode[src]
impl Eq for PassModefn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Copy for PassMode[src]
impl Copy for PassMode