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 Upvar
fn clone(&self) -> Upvar
[src]
fn clone(&self) -> Upvar
Returns 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 Upvar
impl PartialEq for Upvar
[src]
impl PartialEq for Upvar
fn eq(&self, __arg_0: &Upvar) -> bool
[src]
fn eq(&self, __arg_0: &Upvar) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for Upvar
[src]
impl Debug for Upvar
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Upvar
[src]
impl Display for Upvar