Struct rustc::middle::mem_categorization::Upvar
[−]
[src]
pub struct Upvar {
pub id: UpvarId,
pub kind: ClosureKind,
}🔬 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?
Fields
id: UpvarId
🔬 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?
kind: ClosureKind
🔬 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 Upvar[src]
impl Clone for Upvarfn clone(&self) -> Upvar[src]
fn clone(&self) -> UpvarReturns 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 Upvar[src]
impl Copy for Upvarimpl PartialEq for Upvar[src]
impl PartialEq for Upvarfn eq(&self, __arg_0: &Upvar) -> bool[src]
fn eq(&self, __arg_0: &Upvar) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Upvar) -> bool[src]
fn ne(&self, __arg_0: &Upvar) -> boolThis method tests for !=.
impl Debug for Upvar[src]
impl Debug for Upvarfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Upvar[src]
impl Display for Upvar