pub struct ConcreteTraitGenericFunctionLongId { /* private fields */ }
Expand description
The ID of a generic function in a concrete trait.
Implementations§
source§impl ConcreteTraitGenericFunctionLongId
impl ConcreteTraitGenericFunctionLongId
pub fn new( db: &dyn SemanticGroup, concrete_trait_id: ConcreteTraitId, function_id: TraitFunctionId ) -> Self
Trait Implementations§
source§impl Clone for ConcreteTraitGenericFunctionLongId
impl Clone for ConcreteTraitGenericFunctionLongId
source§fn clone(&self) -> ConcreteTraitGenericFunctionLongId
fn clone(&self) -> ConcreteTraitGenericFunctionLongId
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<'a, T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ConcreteTraitGenericFunctionLongId
impl<'a, T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ConcreteTraitGenericFunctionLongId
source§impl PartialEq for ConcreteTraitGenericFunctionLongId
impl PartialEq for ConcreteTraitGenericFunctionLongId
source§fn eq(&self, other: &ConcreteTraitGenericFunctionLongId) -> bool
fn eq(&self, other: &ConcreteTraitGenericFunctionLongId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: SemanticRewriter<ConcreteTraitId, Error> + SemanticRewriter<TraitFunctionId, Error>, Error> SemanticObject<T, Error> for ConcreteTraitGenericFunctionLongId
impl<T: SemanticRewriter<ConcreteTraitId, Error> + SemanticRewriter<TraitFunctionId, Error>, Error> SemanticObject<T, Error> for ConcreteTraitGenericFunctionLongId
fn default_rewrite(self, rewriter: &mut T) -> Result<Self, Error>
source§impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
fn rewrite( &mut self, value: ConcreteTraitGenericFunctionLongId ) -> Result<ConcreteTraitGenericFunctionLongId, DiagnosticAdded>
source§impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionLongId, NoError> for Inference<'a>
impl<'a> SemanticRewriter<ConcreteTraitGenericFunctionLongId, NoError> for Inference<'a>
fn rewrite( &mut self, value: ConcreteTraitGenericFunctionLongId ) -> Result<ConcreteTraitGenericFunctionLongId, NoError>
impl Eq for ConcreteTraitGenericFunctionLongId
impl StructuralEq for ConcreteTraitGenericFunctionLongId
impl StructuralPartialEq for ConcreteTraitGenericFunctionLongId
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteTraitGenericFunctionLongId
impl Send for ConcreteTraitGenericFunctionLongId
impl Sync for ConcreteTraitGenericFunctionLongId
impl Unpin for ConcreteTraitGenericFunctionLongId
impl UnwindSafe for ConcreteTraitGenericFunctionLongId
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 Q
impl<Q, K> Equivalent<K> for Q
source§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
Compare self to
key
and return true
if they are equal.