Struct stageleft::RuntimeData
source · pub struct RuntimeData<T> { /* private fields */ }
Expand description
Represents a piece of data that will be passed into the generated code
Implementations§
source§impl<T> RuntimeData<T>
impl<T> RuntimeData<T>
pub fn new(ident: &'static str) -> RuntimeData<T>
Trait Implementations§
source§impl<T: Copy> Clone for RuntimeData<T>
impl<T: Copy> Clone for RuntimeData<T>
source§impl<T, Ctx> FreeVariableWithContext<Ctx> for RuntimeData<T>
impl<T, Ctx> FreeVariableWithContext<Ctx> for RuntimeData<T>
source§impl<'a, T: 'a, Ctx> QuotedWithContext<'a, T, Ctx> for RuntimeData<T>
impl<'a, T: 'a, Ctx> QuotedWithContext<'a, T, Ctx> for RuntimeData<T>
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
impl<T: Copy> Copy for RuntimeData<T>
Auto Trait Implementations§
impl<T> Freeze for RuntimeData<T>
impl<T> RefUnwindSafe for RuntimeData<T>where
T: RefUnwindSafe,
impl<T> Send for RuntimeData<T>where
T: Send,
impl<T> Sync for RuntimeData<T>where
T: Sync,
impl<T> Unpin for RuntimeData<T>where
T: Unpin,
impl<T> UnwindSafe for RuntimeData<T>where
T: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)