# cycler ```rust pub fn cycler(items: Vec) -> Result ``` Returns a cycler. Similar to `loop.cycle`, but can be used outside loops or across multiple loops. For example, render a list of folders and files in a list, alternating giving them "odd" and "even" classes. {% raw %} ```jinja {% set row_class = cycler("odd", "even") %} ``` {% endraw %}