Type Alias sway_ast::Item

source ·
pub type Item = Annotated<ItemKind>;

Aliased Type§

struct Item {
    pub attribute_list: Vec<AttributeDecl>,
    pub value: ItemKind,
}

Fields§

§attribute_list: Vec<AttributeDecl>§value: ItemKind

Trait Implementations§

source§

impl Spanned for Item

source§

fn span(&self) -> Span