pub struct ConcreteTraitGenericFunctionId(_);
Implementations§
source§impl ConcreteTraitGenericFunctionId
impl ConcreteTraitGenericFunctionId
pub fn new( db: &dyn SemanticGroup, concrete_trait_id: ConcreteTraitId, function_id: TraitFunctionId ) -> Self
pub fn function_id(&self, db: &dyn SemanticGroup) -> TraitFunctionId
pub fn concrete_trait_id(&self, db: &dyn SemanticGroup) -> ConcreteTraitId
Trait Implementations§
source§impl Clone for ConcreteTraitGenericFunctionId
impl Clone for ConcreteTraitGenericFunctionId
source§fn clone(&self) -> ConcreteTraitGenericFunctionId
fn clone(&self) -> ConcreteTraitGenericFunctionId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ConcreteTraitGenericFunctionId
impl<T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ConcreteTraitGenericFunctionId
source§impl InternKey for ConcreteTraitGenericFunctionId
impl InternKey for ConcreteTraitGenericFunctionId
source§fn from_intern_id(salsa_id: InternId) -> Self
fn from_intern_id(salsa_id: InternId) -> Self
Create an instance of the intern-key from a
u32
value.source§fn as_intern_id(&self) -> InternId
fn as_intern_id(&self) -> InternId
Extract the
u32
with which the intern-key was created.source§impl PartialEq<ConcreteTraitGenericFunctionId> for ConcreteTraitGenericFunctionId
impl PartialEq<ConcreteTraitGenericFunctionId> for ConcreteTraitGenericFunctionId
source§fn eq(&self, other: &ConcreteTraitGenericFunctionId) -> bool
fn eq(&self, other: &ConcreteTraitGenericFunctionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, Error, TRewriter: HasDb<&'a dyn SemanticGroup> + SemanticRewriter<ConcreteTraitGenericFunctionLongId, Error>> SemanticObject<TRewriter, Error> for ConcreteTraitGenericFunctionId
impl<'a, Error, TRewriter: HasDb<&'a dyn SemanticGroup> + SemanticRewriter<ConcreteTraitGenericFunctionLongId, Error>> SemanticObject<TRewriter, Error> for ConcreteTraitGenericFunctionId
fn default_rewrite(self, rewriter: &mut TRewriter) -> Result<Self, Error>
source§impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionId, DiagnosticAdded> for SubstitutionRewriter<'a>
impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionId, DiagnosticAdded> for SubstitutionRewriter<'a>
fn rewrite( &mut self, value: ConcreteTraitGenericFunctionId ) -> Result<ConcreteTraitGenericFunctionId, DiagnosticAdded>
source§impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionId, InferenceError> for Inference<'a>
impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionId, InferenceError> for Inference<'a>
fn rewrite( &mut self, value: ConcreteTraitGenericFunctionId ) -> Result<ConcreteTraitGenericFunctionId, InferenceError>
impl Copy for ConcreteTraitGenericFunctionId
impl Eq for ConcreteTraitGenericFunctionId
impl StructuralEq for ConcreteTraitGenericFunctionId
impl StructuralPartialEq for ConcreteTraitGenericFunctionId
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteTraitGenericFunctionId
impl Send for ConcreteTraitGenericFunctionId
impl Sync for ConcreteTraitGenericFunctionId
impl Unpin for ConcreteTraitGenericFunctionId
impl UnwindSafe for ConcreteTraitGenericFunctionId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.