Struct rustc_lint::middle::mem_categorization::Upvar
[−]
[src]
pub struct Upvar { pub id: UpvarId, pub kind: ClosureKind, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Fields
id: UpvarId
🔬 This is a nightly-only experimental API. (
rustc_private
)kind: ClosureKind
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl Display for Upvar
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
🔬 This is a nightly-only experimental API. (
rustc_private
)impl PartialEq<Upvar> for Upvar
[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
This method tests for !=
.
impl Clone for Upvar
[src]
fn clone(&self) -> Upvar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Upvar
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
🔬 This is a nightly-only experimental API. (
rustc_private
)