Struct cairo_lang_syntax::node::ast::StructArgPtr
source · pub struct StructArgPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl StructArgPtr
impl StructArgPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> StructArg
Trait Implementations§
source§impl Clone for StructArgPtr
impl Clone for StructArgPtr
source§fn clone(&self) -> StructArgPtr
fn clone(&self) -> StructArgPtr
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 StructArgPtr
impl Debug for StructArgPtr
source§impl From<StructArgSinglePtr> for StructArgPtr
impl From<StructArgSinglePtr> for StructArgPtr
source§fn from(value: StructArgSinglePtr) -> Self
fn from(value: StructArgSinglePtr) -> Self
Converts to this type from the input type.
source§impl From<StructArgTailPtr> for StructArgPtr
impl From<StructArgTailPtr> for StructArgPtr
source§fn from(value: StructArgTailPtr) -> Self
fn from(value: StructArgTailPtr) -> Self
Converts to this type from the input type.
source§impl Hash for StructArgPtr
impl Hash for StructArgPtr
source§impl PartialEq for StructArgPtr
impl PartialEq for StructArgPtr
source§fn eq(&self, other: &StructArgPtr) -> bool
fn eq(&self, other: &StructArgPtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StructArgPtr
impl Eq for StructArgPtr
impl StructuralPartialEq for StructArgPtr
Auto Trait Implementations§
impl Freeze for StructArgPtr
impl RefUnwindSafe for StructArgPtr
impl Send for StructArgPtr
impl Sync for StructArgPtr
impl Unpin for StructArgPtr
impl UnwindSafe for StructArgPtr
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§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.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.