pub fn remove(&self, index: usize) -> T {
        let elem = self.inner.borrow_mut().remove(index);
        (self.update)();
        elem
    }
/// Removes and returns the element at position index within the list,
/// shifting all elements after it to the left.
///
/// # Panics
///
/// Panics if index is out of bounds.
Removes and returns the element at position index within the list,
shifting all elements after it to the left.
Removes and returns the element at position index within the list shifting all elements after it to the left .
pub fn remove(&self, index: usize) -> T {
        let elem = self.inner.borrow_mut().remove(index);
        (self.update)();
        elem
    }
pub fn remove ( & self , index : usize ) -> T { let elem = self . inner . borrow_mut ( ) . remove ( index ) ; ( self . update ) ( ) ; elem }
Removes and returns the element at position index within the list,
shifting all elements after it to the left.
Removes and returns the element at position index within the list shifting all elements after it to the left .
&self
index
usize
&self
index
usize
panics
Panics if index is out of bounds.
Panics if index is out of bounds .