Struct rustc_trans::middle::mem_categorization::Upvar [] [src]

pub struct Upvar {
    pub id: UpvarId,
    pub kind: ClosureKind,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

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

Trait Implementations

impl Display for Upvar
[src]

Formats the value using the given formatter. Read more

impl PartialEq<Upvar> for Upvar
[src]

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

This method tests for !=.

impl Clone for Upvar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Upvar
[src]

Formats the value using the given formatter.

impl Copy for Upvar
[src]