Trait ItemExtension

Source
pub trait ItemExtension {
    // Required method
    fn get_self(&self) -> &Item;

    // Provided method
    fn attributes(&self) -> Option<&Vec<Attribute>> { ... }
}

Required Methods§

Source

fn get_self(&self) -> &Item

Provided Methods§

Implementations on Foreign Types§

Source§

impl ItemExtension for Item

Source§

fn get_self(&self) -> &Item

Implementors§