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