Struct cairo_lang_semantic::items::imp::ImplDeclarationData
source · pub struct ImplDeclarationData { /* private fields */ }
Implementations§
source§impl ImplDeclarationData
impl ImplDeclarationData
sourcepub fn check_no_cycle(&self) -> Maybe<()>
pub fn check_no_cycle(&self) -> Maybe<()>
Returns Maybe::Err if a cycle is detected here.
Trait Implementations§
source§impl Clone for ImplDeclarationData
impl Clone for ImplDeclarationData
source§fn clone(&self) -> ImplDeclarationData
fn clone(&self) -> ImplDeclarationData
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 ImplDeclarationData
impl Debug for ImplDeclarationData
source§impl<'a, T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ImplDeclarationData
impl<'a, T: ?Sized + Upcast<dyn SemanticGroup + 'static>> DebugWithDb<T> for ImplDeclarationData
source§impl PartialEq for ImplDeclarationData
impl PartialEq for ImplDeclarationData
source§fn eq(&self, other: &ImplDeclarationData) -> bool
fn eq(&self, other: &ImplDeclarationData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImplDeclarationData
impl StructuralPartialEq for ImplDeclarationData
Auto Trait Implementations§
impl RefUnwindSafe for ImplDeclarationData
impl Send for ImplDeclarationData
impl Sync for ImplDeclarationData
impl Unpin for ImplDeclarationData
impl UnwindSafe for ImplDeclarationData
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
§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.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.