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