Struct rustc::middle::mem_categorization::Upvar
[−]
[src]
pub struct Upvar {
pub id: UpvarId,
pub kind: ClosureKind,
}Unstable (
rustc_private)Fields
id: UpvarId
Unstable (
rustc_private)kind: ClosureKind
Unstable (
rustc_private)Trait Implementations
impl Debug for Upvar[src]
impl Display for Upvar[src]
Derived Implementations
impl PartialEq 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 Copy for Upvar[src]
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