pub struct Context<'g> { /* fields omitted */ }
Processing context for a template.
Create a default Context
.
See ContextBuilder
for more control.
Access the block's InterruptState
.
Access the block's InterruptState
.
Partial templates for inclusion.
Data store for stateful tags/blocks.
If a plugin needs state, it creates a struct State : Default
and accesses it via
get_register_mut
.
Access the current Stack
.
Access the current Stack
.
Sets up a new stack frame, executes the supplied function and then
tears the stack frame down before returning the function's result
to the caller.
Sets up a new stack frame, executes the supplied function and then
tears the stack frame down before returning the function's result
to the caller.
Returns the "default value" for a type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static