Struct rustc::mir::repr::UpvarDecl
[−]
[src]
pub struct UpvarDecl {
pub debug_name: Name,
pub by_ref: bool,
}Unstable (
rustc_private)A closure capture, with its name and mode.
Fields
debug_name: Name
Unstable (
rustc_private)by_ref: bool
Unstable (
rustc_private)If true, the capture is behind a reference.
Trait Implementations
Derived Implementations
impl Decodable for UpvarDecl[src]
impl Encodable for UpvarDecl[src]
impl Debug for UpvarDecl[src]
impl Clone for UpvarDecl[src]
fn clone(&self) -> UpvarDecl
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