Struct aster::self_::SelfBuilder [] [src]

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

Methods

impl SelfBuilder
[src]

fn new() -> Self

impl<F> SelfBuilder<F> where F: Invoke<ExplicitSelf>
[src]

fn with_callback(callback: F) -> Self

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

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

fn mut_(self) -> Self

fn value(self) -> F::Result

fn ref_(self) -> F::Result

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

fn ty(self) -> TyBuilder<Self>

Trait Implementations

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

type Result = F::Result

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