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§