pub struct CompiledFlow<'a, ID> { /* private fields */ }
Available on crate feature
build
only.Implementations§
Source§impl<'a, ID> CompiledFlow<'a, ID>
impl<'a, ID> CompiledFlow<'a, ID>
Source§impl<'a> CompiledFlow<'a, usize>
impl<'a> CompiledFlow<'a, usize>
pub fn with_dynamic_id( self, id: impl QuotedWithContext<'a, usize, ()>, ) -> CompiledFlowWithId<'a>
Trait Implementations§
Source§impl<'a, Ctx> FreeVariableWithContext<Ctx> for CompiledFlow<'a, ()>
impl<'a, Ctx> FreeVariableWithContext<Ctx> for CompiledFlow<'a, ()>
type O = Dfir<'a>
fn to_tokens(self, _ctx: &Ctx) -> (Option<TokenStream>, Option<TokenStream>)
fn uninitialized(&self, _ctx: &Ctx) -> Self::O
Source§impl<'a, Ctx> QuotedWithContext<'a, Dfir<'a>, Ctx> for CompiledFlow<'a, ()>
impl<'a, Ctx> QuotedWithContext<'a, Dfir<'a>, Ctx> for CompiledFlow<'a, ()>
fn splice_untyped_ctx(self, ctx: &Ctx) -> Exprwhere
Self: Sized,
fn splice_typed_ctx(self, ctx: &Ctx) -> Exprwhere
Self: Sized,
fn splice_fn1_ctx<I, O>(self, ctx: &Ctx) -> Expr
fn splice_fn1_borrow_ctx<I, O>(self, ctx: &Ctx) -> Expr
fn splice_fn2_borrow_mut_ctx<I1, I2, O>(self, ctx: &Ctx) -> Expr
fn splice_untyped(self) -> Expr
fn splice_typed(self) -> Expr
fn splice_fn1<I, O>(self) -> Expr
fn splice_fn1_borrow<I, O>(self) -> Expr
fn splice_fn2_borrow_mut<I1, I2, O>(self) -> Expr
Auto Trait Implementations§
impl<'a, ID> Freeze for CompiledFlow<'a, ID>
impl<'a, ID> !RefUnwindSafe for CompiledFlow<'a, ID>
impl<'a, ID> !Send for CompiledFlow<'a, ID>
impl<'a, ID> !Sync for CompiledFlow<'a, ID>
impl<'a, ID> Unpin for CompiledFlow<'a, ID>where
ID: Unpin,
impl<'a, ID> !UnwindSafe for CompiledFlow<'a, ID>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<O, T> FreeVariable<O> for Twhere
T: FreeVariableWithContext<(), O = O>,
impl<O, T> FreeVariable<O> for Twhere
T: FreeVariableWithContext<(), O = O>,
fn to_tokens(self) -> (Option<TokenStream>, Option<TokenStream>)where
Self: Sized,
fn uninitialized(&self) -> O
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more