Struct aster::method::MethodSigBuilder
[−]
[src]
pub struct MethodSigBuilder<F = Identity> { // some fields omitted }
pub struct MethodSigBuilder<F = Identity> { // some fields omitted }
impl MethodSigBuilder
fn new() -> Self
impl<F> MethodSigBuilder<F> where F: Invoke<MethodSig>
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 with_self(self, mutable: Mutability, explicit_self: ExplicitSelf) -> Self
fn self_(self) -> SelfBuilder<Self>
fn build_fn_decl(self, fn_decl: P<FnDecl>) -> F::Result
fn fn_decl(self) -> FnDeclBuilder<Self>
impl<F> Invoke<Generics> for MethodSigBuilder<F> where F: Invoke<MethodSig>
impl<F> Invoke<(Mutability, ExplicitSelf)> for MethodSigBuilder<F> where F: Invoke<MethodSig>
type Result = Self
fn invoke(self, (mutable, explicit_self): (Mutability, ExplicitSelf)) -> Self
impl<F> Invoke<P<FnDecl>> for MethodSigBuilder<F> where F: Invoke<MethodSig>