pub struct ParamCtx<'a> { /* private fields */ }Expand description
What a built-in needs to resolve its parameters from inside an arena scope.
The sync built-ins (map, parse_*, publish_*, validation) run against
an ArenaContext that earlier tasks
in the same stretch already populated, and hold no
TaskContext. Bundling the three pieces keeps their
signatures to one extra argument, and keeps every parameter resolving
against the same context view the task’s own logic sees — including
mutations an earlier mapping in the same task made.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ParamCtx<'a>
impl<'a> !Send for ParamCtx<'a>
impl<'a> !Sync for ParamCtx<'a>
impl<'a> !UnwindSafe for ParamCtx<'a>
impl<'a> Freeze for ParamCtx<'a>
impl<'a> Unpin for ParamCtx<'a>
impl<'a> UnsafeUnpin for ParamCtx<'a>
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