Enum rustc_typeck::check::TupleArgumentsFlag[][src]

enum TupleArgumentsFlag {
    DontTupleArguments,
    TupleArguments,
}
🔬 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?

Controls whether the arguments are tupled. This is used for the call operator.

Tupling means that all call-side arguments are packed into a tuple and passed as a single parameter. For example, if tupling is enabled, this function:

fn f(x: (isize, isize))

Can be called as:

f(1, 2);

Instead of:

f((1, 2));

Variants

🔬 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?

🔬 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?

Trait Implementations

impl Clone for TupleArgumentsFlag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for TupleArgumentsFlag
[src]

impl PartialEq for TupleArgumentsFlag
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for TupleArgumentsFlag

impl Sync for TupleArgumentsFlag