Implemented early termination.
This commit is contained in:
@@ -4,6 +4,7 @@ use crate::renderer::parameters_context::ParametersContext;
|
||||
pub struct SelectContext<'a> {
|
||||
pub select_parameters: &'a ParametersContext<'a>,
|
||||
pub were_any_true: bool,
|
||||
pub allowed_to_render_any_more_conditionals: bool,
|
||||
}
|
||||
|
||||
impl<'a> SelectContext<'a> {
|
||||
@@ -11,6 +12,7 @@ impl<'a> SelectContext<'a> {
|
||||
SelectContext {
|
||||
select_parameters: select_parameters,
|
||||
were_any_true: were_any_true,
|
||||
allowed_to_render_any_more_conditionals: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user