Struct aster::method::MethodSigBuilder [] [src]

pub struct MethodSigBuilder<F = Identity> {
    // some fields omitted
}

Methods

impl MethodSigBuilder
[src]

fn new() -> Self

impl<F> MethodSigBuilder<F> where F: Invoke<MethodSig>
[src]

fn with_callback(callback: F) -> Self

fn span(self, span: Span) -> Self

fn unsafe_(self) -> Self

fn const_(self) -> Self

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

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

fn generics(self) -> GenericsBuilder<Self>

fn build_fn_decl(self, fn_decl: P<FnDecl>) -> F::Result

fn fn_decl(self) -> FnDeclBuilder<Self>

Trait Implementations

impl<F> Invoke<Generics> for MethodSigBuilder<F> where F: Invoke<MethodSig>
[src]

type Result = Self

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

impl<F> Invoke<P<FnDecl>> for MethodSigBuilder<F> where F: Invoke<MethodSig>
[src]

type Result = F::Result

fn invoke(self, fn_decl: P<FnDecl>) -> Self::Result