fn remove(&mut self, index: CallIdx) -> Option<T> {
        match Self::to_internal_index(index) {
            Some(index) => self.inner.get_mut(index).map(|v| v.take()).unwrap_or(None),
            None => None,
        }
    }
/// Remove a value by index. Returns `None` if the value did not point to a value.
Remove a value by index. Returns `None` if the value did not point to a value.
Remove a value by index . Returns ` None ` if the value did not point to a value .
fn remove(&mut self, index: CallIdx) -> Option<T> {
        match Self::to_internal_index(index) {
            Some(index) => self.inner.get_mut(index).map(|v| v.take()).unwrap_or(None),
            None => None,
        }
    }
fn remove ( & mut self , index : CallIdx ) -> Option < T > { match Self :: to_internal_index ( index ) { Some ( index ) => self . inner . get_mut ( index ) . map ( | v | v . take ( ) ) . unwrap_or ( None ) , None => None , } }
Remove a value by index.
Remove a value by index .
&mut self
index
CallIdx
&mut self
index
CallIdx