Struct cairo_lang_syntax::node::ast::MemberPtr
source · pub struct MemberPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl MemberPtr
impl MemberPtr
pub fn name_green(self, db: &dyn SyntaxGroup) -> TerminalIdentifierGreen
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> Member
Trait Implementations§
source§impl PartialEq for MemberPtr
impl PartialEq for MemberPtr
impl Copy for MemberPtr
impl Eq for MemberPtr
impl StructuralEq for MemberPtr
impl StructuralPartialEq for MemberPtr
Auto Trait Implementations§
impl RefUnwindSafe for MemberPtr
impl Send for MemberPtr
impl Sync for MemberPtr
impl Unpin for MemberPtr
impl UnwindSafe for MemberPtr
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.