Struct cairo_lang_semantic::items::trt::ConcreteTraitLongId
source · pub struct ConcreteTraitLongId {
pub trait_id: TraitId,
pub generic_args: Vec<GenericArgumentId>,
}
Fields§
§trait_id: TraitId
§generic_args: Vec<GenericArgumentId>
Trait Implementations§
source§impl Clone for ConcreteTraitLongId
impl Clone for ConcreteTraitLongId
source§fn clone(&self) -> ConcreteTraitLongId
fn clone(&self) -> ConcreteTraitLongId
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 Debug for ConcreteTraitLongId
impl Debug for ConcreteTraitLongId
source§impl DebugWithDb<dyn SemanticGroup> for ConcreteTraitLongId
impl DebugWithDb<dyn SemanticGroup> for ConcreteTraitLongId
source§impl Hash for ConcreteTraitLongId
impl Hash for ConcreteTraitLongId
source§impl PartialEq for ConcreteTraitLongId
impl PartialEq for ConcreteTraitLongId
source§fn eq(&self, other: &ConcreteTraitLongId) -> bool
fn eq(&self, other: &ConcreteTraitLongId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: SemanticRewriter<TraitId, Error> + SemanticRewriter<Vec<GenericArgumentId>, Error>, Error> SemanticObject<T, Error> for ConcreteTraitLongId
impl<T: SemanticRewriter<TraitId, Error> + SemanticRewriter<Vec<GenericArgumentId>, Error>, Error> SemanticObject<T, Error> for ConcreteTraitLongId
fn default_rewrite(self, rewriter: &mut T) -> Result<Self, Error>
source§impl<'a> SemanticRewriter<ConcreteTraitLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
impl<'a> SemanticRewriter<ConcreteTraitLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
fn rewrite( &mut self, value: ConcreteTraitLongId ) -> Result<ConcreteTraitLongId, DiagnosticAdded>
source§impl<'a> SemanticRewriter<ConcreteTraitLongId, NoError> for Inference<'a>
impl<'a> SemanticRewriter<ConcreteTraitLongId, NoError> for Inference<'a>
fn rewrite( &mut self, value: ConcreteTraitLongId ) -> Result<ConcreteTraitLongId, NoError>
impl Eq for ConcreteTraitLongId
impl StructuralEq for ConcreteTraitLongId
impl StructuralPartialEq for ConcreteTraitLongId
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteTraitLongId
impl Send for ConcreteTraitLongId
impl Sync for ConcreteTraitLongId
impl Unpin for ConcreteTraitLongId
impl UnwindSafe for ConcreteTraitLongId
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.§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,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.