Struct aster::item::ItemFnBuilder [] [src]

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

Methods

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

fn unsafe_(self) -> Self

fn abi(self, abi: Abi) -> Self

fn generics(self) -> GenericsBuilder<Self>

fn build(self, block: P<Block>) -> F::Result

fn block(self) -> BlockBuilder<Self>

Trait Implementations

impl<F> Invoke<Generics> for ItemFnBuilder<F> where F: Invoke<P<Item>>

type Result = Self

fn invoke(self, generics: Generics) -> Self

impl<F> Invoke<P<Block>> for ItemFnBuilder<F> where F: Invoke<P<Item>>

type Result = F::Result

fn invoke(self, block: P<Block>) -> F::Result