Enum rustc_trait_selection::infer::unify_key::ConstVariableValue [−][src]
pub enum ConstVariableValue<'tcx> {
Known {
value: &'tcx Const<'tcx>,
},
Unknown {
universe: UniverseIndex,
},
}Variants
Show fields
Fields of Known
value: &'tcx Const<'tcx>Show fields
Fields of Unknown
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
pub fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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