pub enum SolverDefId<'db> {
Show 15 variants
AdtId(AdtId),
ConstId(ConstId),
FunctionId(FunctionId),
ImplId(ImplId),
BuiltinDeriveImplId(BuiltinDeriveImplId),
StaticId(StaticId),
AnonConstId(AnonConstId<'db>),
TraitId(TraitId),
TypeAliasId(TypeAliasId),
InternedClosureId(InternedClosureId<'db>),
InternedCoroutineId(InternedCoroutineId<'db>),
InternedCoroutineClosureId(InternedCoroutineClosureId<'db>),
InternedOpaqueTyId(InternedOpaqueTyId<'db>),
EnumVariantId(EnumVariantId),
Ctor(Ctor),
}Variants§
AdtId(AdtId)
ConstId(ConstId)
FunctionId(FunctionId)
ImplId(ImplId)
BuiltinDeriveImplId(BuiltinDeriveImplId)
StaticId(StaticId)
AnonConstId(AnonConstId<'db>)
TraitId(TraitId)
TypeAliasId(TypeAliasId)
InternedClosureId(InternedClosureId<'db>)
InternedCoroutineId(InternedCoroutineId<'db>)
InternedCoroutineClosureId(InternedCoroutineClosureId<'db>)
InternedOpaqueTyId(InternedOpaqueTyId<'db>)
EnumVariantId(EnumVariantId)
Ctor(Ctor)
Trait Implementations§
Source§impl<'db> Clone for SolverDefId<'db>
impl<'db> Clone for SolverDefId<'db>
Source§fn clone(&self) -> SolverDefId<'db>
fn clone(&self) -> SolverDefId<'db>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolverDefId<'_>
impl Debug for SolverDefId<'_>
Source§impl<'db> DefId<DbInterner<'db>> for SolverDefId<'db>
impl<'db> DefId<DbInterner<'db>> for SolverDefId<'db>
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for AdtIdWrapper
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for AdtIdWrapper
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ClosureIdWrapper<'db>
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ClosureIdWrapper<'db>
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for CoroutineClosureIdWrapper<'db>
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for CoroutineClosureIdWrapper<'db>
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for CoroutineIdWrapper<'db>
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for CoroutineIdWrapper<'db>
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeConstAliasId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeConstAliasId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeTermAliasId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeTermAliasId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeTyAliasId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for FreeTyAliasId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocConstId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocConstId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocTermId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocTermId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocTyId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for ImplOrTraitAssocTyId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocConstId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocConstId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocTermId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocTermId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocTyId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for InherentAssocTyId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocConstId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocConstId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocTermId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocTermId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocTyId
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitAssocTyId
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitIdWrapper
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TraitIdWrapper
Source§impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TypeAliasIdWrapper
impl<'db> DefId<DbInterner<'db>, SolverDefId<'db>> for TypeAliasIdWrapper
Source§impl<'db> From<AdtId> for SolverDefId<'db>
impl<'db> From<AdtId> for SolverDefId<'db>
Source§fn from(it: AdtId) -> SolverDefId<'db>
fn from(it: AdtId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<AdtIdWrapper> for SolverDefId<'db>
impl<'db> From<AdtIdWrapper> for SolverDefId<'db>
Source§fn from(value: AdtIdWrapper) -> SolverDefId<'db>
fn from(value: AdtIdWrapper) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<AnonConstId<'db>> for SolverDefId<'db>
impl<'db> From<AnonConstId<'db>> for SolverDefId<'db>
Source§fn from(it: AnonConstId<'db>) -> SolverDefId<'db>
fn from(it: AnonConstId<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<AnyImplId> for SolverDefId<'db>
impl<'db> From<AnyImplId> for SolverDefId<'db>
Source§fn from(value: AnyImplId) -> SolverDefId<'db>
fn from(value: AnyImplId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<BuiltinDeriveImplId> for SolverDefId<'db>
impl<'db> From<BuiltinDeriveImplId> for SolverDefId<'db>
Source§fn from(it: BuiltinDeriveImplId) -> SolverDefId<'db>
fn from(it: BuiltinDeriveImplId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<CallableDefId> for SolverDefId<'db>
impl<'db> From<CallableDefId> for SolverDefId<'db>
Source§impl<'db> From<CallableIdWrapper> for SolverDefId<'db>
impl<'db> From<CallableIdWrapper> for SolverDefId<'db>
Source§fn from(value: CallableIdWrapper) -> SolverDefId<'db>
fn from(value: CallableIdWrapper) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ClosureIdWrapper<'db>> for SolverDefId<'db>
impl<'db> From<ClosureIdWrapper<'db>> for SolverDefId<'db>
Source§fn from(value: ClosureIdWrapper<'db>) -> SolverDefId<'db>
fn from(value: ClosureIdWrapper<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ConstId> for SolverDefId<'db>
impl<'db> From<ConstId> for SolverDefId<'db>
Source§fn from(it: ConstId) -> SolverDefId<'db>
fn from(it: ConstId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<CoroutineClosureIdWrapper<'db>> for SolverDefId<'db>
impl<'db> From<CoroutineClosureIdWrapper<'db>> for SolverDefId<'db>
Source§fn from(value: CoroutineClosureIdWrapper<'db>) -> SolverDefId<'db>
fn from(value: CoroutineClosureIdWrapper<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<CoroutineIdWrapper<'db>> for SolverDefId<'db>
impl<'db> From<CoroutineIdWrapper<'db>> for SolverDefId<'db>
Source§fn from(value: CoroutineIdWrapper<'db>) -> SolverDefId<'db>
fn from(value: CoroutineIdWrapper<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<Ctor> for SolverDefId<'db>
impl<'db> From<Ctor> for SolverDefId<'db>
Source§fn from(it: Ctor) -> SolverDefId<'db>
fn from(it: Ctor) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<DefWithBodyId> for SolverDefId<'db>
impl<'db> From<DefWithBodyId> for SolverDefId<'db>
Source§impl<'db> From<EnumId> for SolverDefId<'db>
impl<'db> From<EnumId> for SolverDefId<'db>
Source§fn from(it: EnumId) -> SolverDefId<'db>
fn from(it: EnumId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<EnumVariantId> for SolverDefId<'db>
impl<'db> From<EnumVariantId> for SolverDefId<'db>
Source§fn from(it: EnumVariantId) -> SolverDefId<'db>
fn from(it: EnumVariantId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ExpressionStoreOwnerId> for SolverDefId<'db>
impl<'db> From<ExpressionStoreOwnerId> for SolverDefId<'db>
Source§impl<'db> From<FreeConstAliasId> for SolverDefId<'db>
impl<'db> From<FreeConstAliasId> for SolverDefId<'db>
Source§fn from(value: FreeConstAliasId) -> SolverDefId<'db>
fn from(value: FreeConstAliasId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<FreeTermAliasId> for SolverDefId<'db>
impl<'db> From<FreeTermAliasId> for SolverDefId<'db>
Source§fn from(value: FreeTermAliasId) -> SolverDefId<'db>
fn from(value: FreeTermAliasId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<FreeTyAliasId> for SolverDefId<'db>
impl<'db> From<FreeTyAliasId> for SolverDefId<'db>
Source§fn from(value: FreeTyAliasId) -> SolverDefId<'db>
fn from(value: FreeTyAliasId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<FunctionId> for SolverDefId<'db>
impl<'db> From<FunctionId> for SolverDefId<'db>
Source§fn from(it: FunctionId) -> SolverDefId<'db>
fn from(it: FunctionId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<GeneralConstId<'db>> for SolverDefId<'db>
impl<'db> From<GeneralConstId<'db>> for SolverDefId<'db>
Source§fn from(value: GeneralConstId<'db>) -> Self
fn from(value: GeneralConstId<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<GeneralConstIdWrapper<'db>> for SolverDefId<'db>
impl<'db> From<GeneralConstIdWrapper<'db>> for SolverDefId<'db>
Source§fn from(value: GeneralConstIdWrapper<'db>) -> SolverDefId<'db>
fn from(value: GeneralConstIdWrapper<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<GenericDefId> for SolverDefId<'db>
impl<'db> From<GenericDefId> for SolverDefId<'db>
Source§impl<'db> From<ImplId> for SolverDefId<'db>
impl<'db> From<ImplId> for SolverDefId<'db>
Source§fn from(it: ImplId) -> SolverDefId<'db>
fn from(it: ImplId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ImplOrTraitAssocConstId> for SolverDefId<'db>
impl<'db> From<ImplOrTraitAssocConstId> for SolverDefId<'db>
Source§fn from(value: ImplOrTraitAssocConstId) -> SolverDefId<'db>
fn from(value: ImplOrTraitAssocConstId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ImplOrTraitAssocTermId> for SolverDefId<'db>
impl<'db> From<ImplOrTraitAssocTermId> for SolverDefId<'db>
Source§fn from(value: ImplOrTraitAssocTermId) -> SolverDefId<'db>
fn from(value: ImplOrTraitAssocTermId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<ImplOrTraitAssocTyId> for SolverDefId<'db>
impl<'db> From<ImplOrTraitAssocTyId> for SolverDefId<'db>
Source§fn from(value: ImplOrTraitAssocTyId) -> SolverDefId<'db>
fn from(value: ImplOrTraitAssocTyId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InferBodyId<'db>> for SolverDefId<'db>
impl<'db> From<InferBodyId<'db>> for SolverDefId<'db>
Source§fn from(value: InferBodyId<'db>) -> Self
fn from(value: InferBodyId<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<InherentAssocConstId> for SolverDefId<'db>
impl<'db> From<InherentAssocConstId> for SolverDefId<'db>
Source§fn from(value: InherentAssocConstId) -> SolverDefId<'db>
fn from(value: InherentAssocConstId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InherentAssocTermId> for SolverDefId<'db>
impl<'db> From<InherentAssocTermId> for SolverDefId<'db>
Source§fn from(value: InherentAssocTermId) -> SolverDefId<'db>
fn from(value: InherentAssocTermId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InherentAssocTyId> for SolverDefId<'db>
impl<'db> From<InherentAssocTyId> for SolverDefId<'db>
Source§fn from(value: InherentAssocTyId) -> SolverDefId<'db>
fn from(value: InherentAssocTyId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InternedClosureId<'db>> for SolverDefId<'db>
impl<'db> From<InternedClosureId<'db>> for SolverDefId<'db>
Source§fn from(it: InternedClosureId<'db>) -> SolverDefId<'db>
fn from(it: InternedClosureId<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InternedCoroutineClosureId<'db>> for SolverDefId<'db>
impl<'db> From<InternedCoroutineClosureId<'db>> for SolverDefId<'db>
Source§fn from(it: InternedCoroutineClosureId<'db>) -> SolverDefId<'db>
fn from(it: InternedCoroutineClosureId<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InternedCoroutineId<'db>> for SolverDefId<'db>
impl<'db> From<InternedCoroutineId<'db>> for SolverDefId<'db>
Source§fn from(it: InternedCoroutineId<'db>) -> SolverDefId<'db>
fn from(it: InternedCoroutineId<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<InternedOpaqueTyId<'db>> for SolverDefId<'db>
impl<'db> From<InternedOpaqueTyId<'db>> for SolverDefId<'db>
Source§fn from(it: InternedOpaqueTyId<'db>) -> SolverDefId<'db>
fn from(it: InternedOpaqueTyId<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<OpaqueTyIdWrapper<'db>> for SolverDefId<'db>
impl<'db> From<OpaqueTyIdWrapper<'db>> for SolverDefId<'db>
Source§fn from(value: OpaqueTyIdWrapper<'db>) -> SolverDefId<'db>
fn from(value: OpaqueTyIdWrapper<'db>) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<StaticId> for SolverDefId<'db>
impl<'db> From<StaticId> for SolverDefId<'db>
Source§fn from(it: StaticId) -> SolverDefId<'db>
fn from(it: StaticId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<StructId> for SolverDefId<'db>
impl<'db> From<StructId> for SolverDefId<'db>
Source§fn from(it: StructId) -> SolverDefId<'db>
fn from(it: StructId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TermId> for SolverDefId<'db>
impl<'db> From<TermId> for SolverDefId<'db>
Source§impl<'db> From<TraitAssocConstId> for SolverDefId<'db>
impl<'db> From<TraitAssocConstId> for SolverDefId<'db>
Source§fn from(value: TraitAssocConstId) -> SolverDefId<'db>
fn from(value: TraitAssocConstId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitAssocTermId> for SolverDefId<'db>
impl<'db> From<TraitAssocTermId> for SolverDefId<'db>
Source§fn from(value: TraitAssocTermId) -> SolverDefId<'db>
fn from(value: TraitAssocTermId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitAssocTyId> for SolverDefId<'db>
impl<'db> From<TraitAssocTyId> for SolverDefId<'db>
Source§fn from(value: TraitAssocTyId) -> SolverDefId<'db>
fn from(value: TraitAssocTyId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitId> for SolverDefId<'db>
impl<'db> From<TraitId> for SolverDefId<'db>
Source§fn from(it: TraitId) -> SolverDefId<'db>
fn from(it: TraitId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitIdWrapper> for SolverDefId<'db>
impl<'db> From<TraitIdWrapper> for SolverDefId<'db>
Source§fn from(value: TraitIdWrapper) -> SolverDefId<'db>
fn from(value: TraitIdWrapper) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TypeAliasId> for SolverDefId<'db>
impl<'db> From<TypeAliasId> for SolverDefId<'db>
Source§fn from(it: TypeAliasId) -> SolverDefId<'db>
fn from(it: TypeAliasId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<TypeAliasIdWrapper> for SolverDefId<'db>
impl<'db> From<TypeAliasIdWrapper> for SolverDefId<'db>
Source§fn from(value: TypeAliasIdWrapper) -> SolverDefId<'db>
fn from(value: TypeAliasIdWrapper) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnionId> for SolverDefId<'db>
impl<'db> From<UnionId> for SolverDefId<'db>
Source§fn from(it: UnionId) -> SolverDefId<'db>
fn from(it: UnionId) -> SolverDefId<'db>
Converts to this type from the input type.
Source§impl<'db> From<VariantId> for SolverDefId<'db>
impl<'db> From<VariantId> for SolverDefId<'db>
Source§impl<V> GenericTypeVisitable<V> for SolverDefId<'_>
impl<V> GenericTypeVisitable<V> for SolverDefId<'_>
fn generic_visit_with(&self, _visitor: &mut V)
Source§impl<'db> Hash for SolverDefId<'db>
impl<'db> Hash for SolverDefId<'db>
Source§impl<'db> Ord for SolverDefId<'db>
impl<'db> Ord for SolverDefId<'db>
Source§fn cmp(&self, other: &SolverDefId<'db>) -> Ordering
fn cmp(&self, other: &SolverDefId<'db>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'db> PartialEq for SolverDefId<'db>
impl<'db> PartialEq for SolverDefId<'db>
Source§fn eq(&self, other: &SolverDefId<'db>) -> bool
fn eq(&self, other: &SolverDefId<'db>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'db> PartialOrd for SolverDefId<'db>
impl<'db> PartialOrd for SolverDefId<'db>
Source§impl TryFrom<SolverDefId<'_>> for AdtIdWrapper
impl TryFrom<SolverDefId<'_>> for AdtIdWrapper
Source§impl TryFrom<SolverDefId<'_>> for AnyImplId
impl TryFrom<SolverDefId<'_>> for AnyImplId
Source§impl TryFrom<SolverDefId<'_>> for AttrDefId
impl TryFrom<SolverDefId<'_>> for AttrDefId
Source§impl TryFrom<SolverDefId<'_>> for CallableIdWrapper
impl TryFrom<SolverDefId<'_>> for CallableIdWrapper
Source§impl TryFrom<SolverDefId<'_>> for DefWithBodyId
impl TryFrom<SolverDefId<'_>> for DefWithBodyId
Source§impl TryFrom<SolverDefId<'_>> for FreeConstAliasId
impl TryFrom<SolverDefId<'_>> for FreeConstAliasId
Source§impl TryFrom<SolverDefId<'_>> for FreeTermAliasId
impl TryFrom<SolverDefId<'_>> for FreeTermAliasId
Source§impl TryFrom<SolverDefId<'_>> for FreeTyAliasId
impl TryFrom<SolverDefId<'_>> for FreeTyAliasId
Source§impl TryFrom<SolverDefId<'_>> for GenericDefId
impl TryFrom<SolverDefId<'_>> for GenericDefId
Source§impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocConstId
impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocConstId
Source§impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocTermId
impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocTermId
Source§impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocTyId
impl TryFrom<SolverDefId<'_>> for ImplOrTraitAssocTyId
Source§impl TryFrom<SolverDefId<'_>> for InherentAssocConstId
impl TryFrom<SolverDefId<'_>> for InherentAssocConstId
Source§impl TryFrom<SolverDefId<'_>> for InherentAssocTermId
impl TryFrom<SolverDefId<'_>> for InherentAssocTermId
Source§impl TryFrom<SolverDefId<'_>> for InherentAssocTyId
impl TryFrom<SolverDefId<'_>> for InherentAssocTyId
Source§impl TryFrom<SolverDefId<'_>> for TraitAssocConstId
impl TryFrom<SolverDefId<'_>> for TraitAssocConstId
Source§impl TryFrom<SolverDefId<'_>> for TraitAssocTermId
impl TryFrom<SolverDefId<'_>> for TraitAssocTermId
Source§impl TryFrom<SolverDefId<'_>> for TraitAssocTyId
impl TryFrom<SolverDefId<'_>> for TraitAssocTyId
Source§impl TryFrom<SolverDefId<'_>> for TraitIdWrapper
impl TryFrom<SolverDefId<'_>> for TraitIdWrapper
Source§impl TryFrom<SolverDefId<'_>> for TypeAliasIdWrapper
impl TryFrom<SolverDefId<'_>> for TypeAliasIdWrapper
Source§impl<'db> TryFrom<SolverDefId<'db>> for ClosureIdWrapper<'db>
impl<'db> TryFrom<SolverDefId<'db>> for ClosureIdWrapper<'db>
Source§impl<'db> TryFrom<SolverDefId<'db>> for CoroutineClosureIdWrapper<'db>
impl<'db> TryFrom<SolverDefId<'db>> for CoroutineClosureIdWrapper<'db>
Source§impl<'db> TryFrom<SolverDefId<'db>> for CoroutineIdWrapper<'db>
impl<'db> TryFrom<SolverDefId<'db>> for CoroutineIdWrapper<'db>
Source§impl<'db> TryFrom<SolverDefId<'db>> for GeneralConstIdWrapper<'db>
impl<'db> TryFrom<SolverDefId<'db>> for GeneralConstIdWrapper<'db>
Source§impl<'db> TryFrom<SolverDefId<'db>> for InferBodyId<'db>
impl<'db> TryFrom<SolverDefId<'db>> for InferBodyId<'db>
Source§impl<'db> TryFrom<SolverDefId<'db>> for OpaqueTyIdWrapper<'db>
impl<'db> TryFrom<SolverDefId<'db>> for OpaqueTyIdWrapper<'db>
Source§impl<'db> TypeFoldable<DbInterner<'db>> for SolverDefId<'_>
impl<'db> TypeFoldable<DbInterner<'db>> for SolverDefId<'_>
Source§fn try_fold_with<F: FallibleTypeFolder<DbInterner<'db>>>(
self,
_: &mut F,
) -> Result<Self, F::Error>
fn try_fold_with<F: FallibleTypeFolder<DbInterner<'db>>>( self, _: &mut F, ) -> Result<Self, F::Error>
Source§impl<'db> TypeVisitable<DbInterner<'db>> for SolverDefId<'_>
impl<'db> TypeVisitable<DbInterner<'db>> for SolverDefId<'_>
Source§fn visit_with<F: TypeVisitor<DbInterner<'db>>>(&self, _: &mut F) -> F::Result
fn visit_with<F: TypeVisitor<DbInterner<'db>>>(&self, _: &mut F) -> F::Result
Source§impl<'db> Update for SolverDefId<'db>
impl<'db> Update for SolverDefId<'db>
impl<'db> Copy for SolverDefId<'db>
impl<'db> Eq for SolverDefId<'db>
impl<'db> StructuralPartialEq for SolverDefId<'db>
Auto Trait Implementations§
impl<'db> Freeze for SolverDefId<'db>
impl<'db> RefUnwindSafe for SolverDefId<'db>
impl<'db> Send for SolverDefId<'db>
impl<'db> Sync for SolverDefId<'db>
impl<'db> Unpin for SolverDefId<'db>
impl<'db> UnsafeUnpin for SolverDefId<'db>
impl<'db> UnwindSafe for SolverDefId<'db>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> HashEqLike<T> for T
impl<T> HashEqLike<T> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Lookup<T> for T
impl<T> Lookup<T> for T
fn into_owned(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<I, T> TypeVisitableExt<I> for Twhere
I: Interner,
T: TypeVisitable<I>,
impl<I, T> TypeVisitableExt<I> for Twhere
I: Interner,
T: TypeVisitable<I>,
fn has_type_flags(&self, flags: TypeFlags) -> bool
§fn has_vars_bound_at_or_above(&self, binder: DebruijnIndex) -> bool
fn has_vars_bound_at_or_above(&self, binder: DebruijnIndex) -> bool
Returns
true if self has any late-bound regions that are either
bound by binder or bound by some binder outside of binder.
If binder is ty::INNERMOST, this indicates whether
there are any late-bound regions that appear free.fn error_reported(&self) -> Result<(), <I as Interner>::ErrorGuaranteed>
fn non_region_error_reported( &self, ) -> Result<(), <I as Interner>::ErrorGuaranteed>
§fn has_vars_bound_above(&self, binder: DebruijnIndex) -> bool
fn has_vars_bound_above(&self, binder: DebruijnIndex) -> bool
Returns
true if this type has any regions that escape binder (and
hence are not bound by it).§fn has_escaping_bound_vars(&self) -> bool
fn has_escaping_bound_vars(&self) -> bool
Returns
true if this type has regions that are not a part of the
type. For example, given a for<'a> fn(&'a i32) this function returns
false, while given a fn(&'a i32) it returns true. The latter can
occur when traversing through the former. Read morefn has_aliases(&self) -> bool
fn has_opaque_types(&self) -> bool
fn has_coroutines(&self) -> bool
fn references_error(&self) -> bool
fn has_non_region_param(&self) -> bool
fn has_regions(&self) -> bool
fn has_infer_regions(&self) -> bool
fn has_infer_types(&self) -> bool
fn has_non_region_infer(&self) -> bool
fn has_infer(&self) -> bool
fn has_placeholders(&self) -> bool
fn has_non_region_placeholders(&self) -> bool
fn has_param(&self) -> bool
§fn has_free_regions(&self) -> bool
fn has_free_regions(&self) -> bool
“Free” regions in this context means that it has any region
that is not (a) erased or (b) late-bound.
fn has_erased_regions(&self) -> bool
§fn has_erasable_regions(&self) -> bool
fn has_erasable_regions(&self) -> bool
True if there are any un-erased free regions.
§fn is_global(&self) -> bool
fn is_global(&self) -> bool
Indicates whether this value references only ‘global’
generic parameters that are the same regardless of what fn we are
in. This is used for caching.
§fn has_bound_regions(&self) -> bool
fn has_bound_regions(&self) -> bool
True if there are any late-bound regions
§fn has_non_region_bound_vars(&self) -> bool
fn has_non_region_bound_vars(&self) -> bool
True if there are any late-bound non-region variables
§fn has_bound_vars(&self) -> bool
fn has_bound_vars(&self) -> bool
True if there are any bound variables
§fn still_further_specializable(&self) -> bool
fn still_further_specializable(&self) -> bool
Indicates whether this value still has parameters/placeholders/inference variables
which could be replaced later, in a way that would change the results of
impl
specialization.§fn has_non_region_error(&self) -> bool
fn has_non_region_error(&self) -> bool
True if a type or const error is reachable