use crate::renderer::parameters_context::ParametersContext; #[derive(Debug)] pub struct SelectContext<'a> { select_parameters: &'a ParametersContext<'a>, were_any_true: bool, } impl<'a> SelectContext<'a> { pub fn new(select_parameters: &'a ParametersContext<'a>, were_any_true: bool) -> Self { SelectContext { select_parameters: select_parameters, were_any_true: were_any_true, } } }