Struct aster::item::ItemMacBuilder [] [src]

pub struct ItemMacBuilder<F> {
    // some fields omitted
}

A builder for macro invocation items.

Specifying the macro path returns a MacBuilder, which is used to add expressions to the macro invocation.

Methods

impl<F> ItemMacBuilder<F> where F: Invoke<P<Item>>

fn path(self) -> PathBuilder<Self>

fn build(self, mac: Mac) -> F::Result

Trait Implementations

impl<F> Invoke<Path> for ItemMacBuilder<F> where F: Invoke<P<Item>>

type Result = MacBuilder<ItemMacBuilder<F>>

fn invoke(self, path: Path) -> MacBuilder<Self>

impl<F> Invoke<Mac> for ItemMacBuilder<F> where F: Invoke<P<Item>>

type Result = F::Result

fn invoke(self, mac: Mac) -> F::Result