pub fn insert_item<S>(&mut self, index: usize, label: S, value: T)
    where
        S: Into<String>,
    {
        self.items.insert(index, Item::new(label.into(), value));
    }
/// Inserts an item at position `index`, shifting all elements after it to
/// the right.
Inserts an item at position `index`, shifting all elements after it to
the right.
Inserts an item at position ` index ` shifting all elements after it to the right .
pub fn insert_item<S>(&mut self, index: usize, label: S, value: T)
    where
        S: Into<String>,
    {
        self.items.insert(index, Item::new(label.into(), value));
    }
pub fn insert_item < S > ( & mut self , index : usize , label : S , value : T ) where S : Into < String > , { self . items . insert ( index , Item :: new ( label . into ( ) , value ) ) ; }
Inserts an item at position `index`, shifting all elements after it to
the right.
Inserts an item at position ` index ` shifting all elements after it to the right .
&mut self
index
usize
label
S
value
T
&mut self
index
usize
label
S
value
T