Enum bracket::render::CallSite [−][src]
Expand description
Call site keeps track of calls so we can detect cyclic calls and therefore prevent a stack overflow by returning a render error when a cycle is detected.
Note that we must distinguish between helper
types otherwise the if helper will not work
as expected as it returns values and handles
block templates.
Variants
Partial(String)Call site for a partial render.
Tuple Fields of Partial
0: StringHelper(String)Call site for a helper.
Tuple Fields of Helper
0: StringBlockHelper(String)Call site for a block helper.
Tuple Fields of BlockHelper
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CallSite
impl UnwindSafe for CallSite
Blanket Implementations
Mutably borrows from an owned value. Read more