Struct cairo_lang_semantic::items::attribute::Attribute
source · pub struct Attribute {
pub id: SmolStr,
pub id_stable_ptr: TerminalIdentifierPtr,
pub args: Vec<Expr>,
pub args_stable_ptr: OptionAttributeArgsPtr,
}
Expand description
Semantic representation of an attribute.
Fields§
§id: SmolStr
§id_stable_ptr: TerminalIdentifierPtr
§args: Vec<Expr>
§args_stable_ptr: OptionAttributeArgsPtr
Trait Implementations§
source§impl DebugWithDb<dyn SemanticGroup + 'static> for Attribute
impl DebugWithDb<dyn SemanticGroup + 'static> for Attribute
source§impl PartialEq<Attribute> for Attribute
impl PartialEq<Attribute> for Attribute
impl Eq for Attribute
impl StructuralEq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.