Struct hydro_lang::builder::compiled::CompiledFlow
source · pub struct CompiledFlow<'a, ID> { /* private fields */ }
Implementations§
source§impl<ID> CompiledFlow<'_, ID>
impl<ID> CompiledFlow<'_, 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, ()>
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
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
source§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> ⓘ
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