Enum rustc_infer::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: UniverseIndexAuto Trait Implementations
impl<'tcx> !RefUnwindSafe for ConstVariableValue<'tcx>
impl<'tcx> !Send for ConstVariableValue<'tcx>
impl<'tcx> !Sync for ConstVariableValue<'tcx>
impl<'tcx> Unpin for ConstVariableValue<'tcx>
impl<'tcx> !UnwindSafe for ConstVariableValue<'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:
Known: 12 bytesUnknown: 4 bytes