Enum rustc_typeck::hir::CaptureClause [] [src]

pub enum CaptureClause {
    CaptureByValue,
    CaptureByRef,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Decodable for CaptureClause
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl PartialEq<CaptureClause> for CaptureClause
[src]

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

This method tests for !=.

impl Hash for CaptureClause
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for CaptureClause
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CaptureClause
[src]

impl Debug for CaptureClause
[src]

Formats the value using the given formatter.

impl Encodable for CaptureClause
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl Copy for CaptureClause
[src]