Enum rustc_infer::infer::unify_key::ConstVariableOriginKind [−][src]
pub enum ConstVariableOriginKind {
MiscVariable,
ConstInference,
ConstParameterDefinition(Symbol, DefId),
SubstitutionPlaceholder,
}Expand description
Reasons to create a const inference variable
Variants
Auto Trait Implementations
impl RefUnwindSafe for ConstVariableOriginKindimpl Send for ConstVariableOriginKindimpl Sync for ConstVariableOriginKindimpl Unpin for ConstVariableOriginKindimpl UnwindSafe for ConstVariableOriginKindBlanket 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: 12 bytes