Enum TermId
pub enum TermId {
TypeAliasId(TypeAliasId),
ConstId(ConstId),
}Variants§
Trait Implementations§
§impl From<FreeTermAliasId> for TermId
impl From<FreeTermAliasId> for TermId
§fn from(value: FreeTermAliasId) -> TermId
fn from(value: FreeTermAliasId) -> TermId
Converts to this type from the input type.
§impl From<ImplOrTraitAssocTermId> for TermId
impl From<ImplOrTraitAssocTermId> for TermId
§fn from(value: ImplOrTraitAssocTermId) -> TermId
fn from(value: ImplOrTraitAssocTermId) -> TermId
Converts to this type from the input type.
§impl From<InherentAssocTermId> for TermId
impl From<InherentAssocTermId> for TermId
§fn from(value: InherentAssocTermId) -> TermId
fn from(value: InherentAssocTermId) -> TermId
Converts to this type from the input type.
§impl From<TermId> for FreeTermAliasId
impl From<TermId> for FreeTermAliasId
§fn from(value: TermId) -> FreeTermAliasId
fn from(value: TermId) -> FreeTermAliasId
Converts to this type from the input type.
§impl From<TermId> for ImplOrTraitAssocTermId
impl From<TermId> for ImplOrTraitAssocTermId
§fn from(value: TermId) -> ImplOrTraitAssocTermId
fn from(value: TermId) -> ImplOrTraitAssocTermId
Converts to this type from the input type.
§impl From<TermId> for InherentAssocTermId
impl From<TermId> for InherentAssocTermId
§fn from(value: TermId) -> InherentAssocTermId
fn from(value: TermId) -> InherentAssocTermId
Converts to this type from the input type.
§impl From<TermId> for SolverDefId
impl From<TermId> for SolverDefId
§fn from(value: TermId) -> SolverDefId
fn from(value: TermId) -> SolverDefId
Converts to this type from the input type.
§impl From<TermId> for TraitAssocTermId
impl From<TermId> for TraitAssocTermId
§fn from(value: TermId) -> TraitAssocTermId
fn from(value: TermId) -> TraitAssocTermId
Converts to this type from the input type.
§impl From<TraitAssocTermId> for TermId
impl From<TraitAssocTermId> for TermId
§fn from(value: TraitAssocTermId) -> TermId
fn from(value: TraitAssocTermId) -> TermId
Converts to this type from the input type.
§impl Ord for TermId
impl Ord for TermId
§impl PartialOrd for TermId
impl PartialOrd for TermId
impl Copy for TermId
impl Eq for TermId
impl StructuralPartialEq for TermId
Auto Trait Implementations§
impl Freeze for TermId
impl RefUnwindSafe for TermId
impl Send for TermId
impl Sync for TermId
impl Unpin for TermId
impl UnsafeUnpin for TermId
impl UnwindSafe for TermId
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
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
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<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