sway_ast

Type Alias 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