Struct aster::method::SelfBuilder [] [src]

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

Methods

impl<F> SelfBuilder<F> where F: Invoke<ExplicitSelf>

fn new_with_callback(callback: F) -> Self

fn build(self, self_: ExplicitSelf) -> F::Result

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

fn build_self_(self, self_: ExplicitSelf_) -> F::Result

fn static_(self) -> F::Result

fn value(self) -> F::Result

fn ref_(self) -> F::Result

fn ref_lifetime<L>(self, lifetime: L) -> F::Result where L: IntoLifetime

fn ref_mut(self) -> F::Result

fn ref_mut_lifetime<L>(self, lifetime: L) -> F::Result where L: IntoLifetime

Trait Implementations

impl<F> Invoke<P<Ty>> for SelfBuilder<F> where F: Invoke<ExplicitSelf>

type Result = F::Result

fn invoke(self, ty: P<Ty>) -> F::Result