Enum rustc_resolve::ty::UpvarSubsts [−][src]
pub enum UpvarSubsts<'tcx> {
Closure(&'tcx List<GenericArg<'tcx>>),
Generator(&'tcx List<GenericArg<'tcx>>),
}Variants
Closure(&'tcx List<GenericArg<'tcx>>)
Tuple Fields
0: &'tcx List<GenericArg<'tcx>>Generator(&'tcx List<GenericArg<'tcx>>)
Tuple Fields
0: &'tcx List<GenericArg<'tcx>>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UpvarSubsts<'tcx>
impl<'tcx> !Send for UpvarSubsts<'tcx>
impl<'tcx> !Sync for UpvarSubsts<'tcx>
impl<'tcx> Unpin for UpvarSubsts<'tcx>
impl<'tcx> !UnwindSafe for UpvarSubsts<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 16 bytes
Size for each variant:
Closure: 8 bytesGenerator: 8 bytes