Skip to main content

GetAttributes

Trait GetAttributes 

Source
pub trait GetAttributes {
    // Required method
    fn get_attributes(&self) -> Result<Vec<Attribute>, String>;
}

Required Methods§

Source

fn get_attributes(&self) -> Result<Vec<Attribute>, String>

Gets the Attributes from the AST element.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GetAttributes for Item

Implementors§