Enum rustc_middle::infer::unify_key::ConstVariableValue [−][src]
pub enum ConstVariableValue<'tcx> {
Known {
value: &'tcx Const<'tcx>,
},
Unknown {
universe: UniverseIndex,
},
}Variants
Known
Fields
value: &'tcx Const<'tcx>Unknown
Fields
universe: UniverseIndexImplementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ConstVariableValue
impl<'tcx> !Send for ConstVariableValue
impl<'tcx> !Sync for ConstVariableValue
impl<'tcx> Unpin for ConstVariableValue
impl<'tcx> !UnwindSafe for ConstVariableValue
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:
Known: 12 bytesUnknown: 4 bytes
