pub(crate) struct Upvar {
var_hir_id: LocalVarId,
closure_def_id: LocalDefId,
}
Fields§
§var_hir_id: LocalVarId
§closure_def_id: LocalDefId
Trait Implementations§
impl Copy for Upvar
impl StructuralPartialEq for Upvar
Auto Trait Implementations§
impl RefUnwindSafe for Upvar
impl Send for Upvar
impl Sync for Upvar
impl Unpin for Upvar
impl UnwindSafe for Upvar
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes