Enum rustc_middle::infer::unify_key::ConstVariableValue [−][src]
pub enum ConstVariableValue<'tcx> {
Known {
value: &'tcx Const<'tcx>,
},
Unknown {
universe: UniverseIndex,
},
}
Variants
Fields of Known
value: &'tcx Const<'tcx>
Fields of Unknown
universe: UniverseIndex
Implementations
Trait Implementations
Auto 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