/// Adds multiple items to the selector with checked state
Adds multiple items to the selector with checked state
Adds multiple items to the selector with checked state
pub fn items_checked<T: ToString>(&mut self, items: &[(T, bool)]) -> &mut MultiSelect<'a> {
        for &(ref item, checked) in items {
            self.items.push(item.to_string());
            self.defaults.push(checked);
        }
        self
    }
pub fn items_checked < T : ToString > ( & mut self , items : & [ ( T , bool ) ] ) -> & mut MultiSelect < ' a > { for & ( ref item , checked ) in items { self . items . push ( item . to_string ( ) ) ; self . defaults . push ( checked ) ; } self }
Adds multiple items to the selector with checked state
Adds multiple items to the selector with checked state
&mut self
items
&[(T, bool)]