cairo_lang_semantic::items::attribute

Trait AttributeTrait

Source
pub trait AttributeTrait {
    // Required methods
    fn name(&self, db: &dyn SemanticGroup) -> String;
    fn args(&self, db: &dyn SemanticGroup) -> String;

    // Provided methods
    fn full_text(&self, db: &dyn SemanticGroup) -> String { ... }
    fn format(&self, db: &dyn SemanticGroup) -> String { ... }
}

Required Methods§

Source

fn name(&self, db: &dyn SemanticGroup) -> String

Source

fn args(&self, db: &dyn SemanticGroup) -> String

Provided Methods§

Source

fn full_text(&self, db: &dyn SemanticGroup) -> String

Source

fn format(&self, db: &dyn SemanticGroup) -> String

Implementations on Foreign Types§

Source§

impl AttributeTrait for Attribute

Source§

fn name(&self, _db: &dyn SemanticGroup) -> String

Source§

fn args(&self, db: &dyn SemanticGroup) -> String

Implementors§