Type Alias rustc_middle::query::queries::generator_kind::Value
source · pub type Value<'tcx> = Option<GeneratorKind>;Aliased Type§
enum Value<'tcx> {
None,
Some(GeneratorKind),
}Variants§
Trait Implementations§
source§impl<T: ParameterizedOverTcx> ParameterizedOverTcx for Option<T>
impl<T: ParameterizedOverTcx> ParameterizedOverTcx for Option<T>
type Value<'tcx> = Option<<T as ParameterizedOverTcx>::Value<'tcx>>
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:1 byte
Size for each variant:
None: 0 bytesSome: 1 byte