Struct cairo_lang_semantic::types::ConcreteStructLongId
source · pub struct ConcreteStructLongId {
pub struct_id: StructId,
pub generic_args: Vec<GenericArgumentId>,
}
Fields§
§struct_id: StructId
§generic_args: Vec<GenericArgumentId>
Trait Implementations§
source§impl Clone for ConcreteStructLongId
impl Clone for ConcreteStructLongId
source§fn clone(&self) -> ConcreteStructLongId
fn clone(&self) -> ConcreteStructLongId
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 ConcreteStructLongId
impl Debug for ConcreteStructLongId
source§impl DebugWithDb<dyn SemanticGroup> for ConcreteStructLongId
impl DebugWithDb<dyn SemanticGroup> for ConcreteStructLongId
source§impl Hash for ConcreteStructLongId
impl Hash for ConcreteStructLongId
source§impl PartialEq for ConcreteStructLongId
impl PartialEq for ConcreteStructLongId
source§fn eq(&self, other: &ConcreteStructLongId) -> bool
fn eq(&self, other: &ConcreteStructLongId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: SemanticRewriter<StructId, Error> + SemanticRewriter<Vec<GenericArgumentId>, Error>, Error> SemanticObject<T, Error> for ConcreteStructLongId
impl<T: SemanticRewriter<StructId, Error> + SemanticRewriter<Vec<GenericArgumentId>, Error>, Error> SemanticObject<T, Error> for ConcreteStructLongId
fn default_rewrite(self, rewriter: &mut T) -> Result<Self, Error>
source§impl<'a> SemanticRewriter<ConcreteStructLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
impl<'a> SemanticRewriter<ConcreteStructLongId, DiagnosticAdded> for SubstitutionRewriter<'a>
fn rewrite( &mut self, value: ConcreteStructLongId ) -> Result<ConcreteStructLongId, DiagnosticAdded>
source§impl<'a> SemanticRewriter<ConcreteStructLongId, NoError> for Inference<'a>
impl<'a> SemanticRewriter<ConcreteStructLongId, NoError> for Inference<'a>
fn rewrite( &mut self, value: ConcreteStructLongId ) -> Result<ConcreteStructLongId, NoError>
impl Eq for ConcreteStructLongId
impl StructuralEq for ConcreteStructLongId
impl StructuralPartialEq for ConcreteStructLongId
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteStructLongId
impl Send for ConcreteStructLongId
impl Sync for ConcreteStructLongId
impl Unpin for ConcreteStructLongId
impl UnwindSafe for ConcreteStructLongId
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.