pub fn remove(&self, index: usize) -> D {
        use winapi::um::winuser::LB_DELETESTRING;

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        wh::send_message(handle, LB_DELETESTRING, index as WPARAM, 0);

        let mut col_ref = self.collection.borrow_mut();
        col_ref.remove(index)
    }
/// Remove the item at the selected index and returns it.
/// Panic of the index is out of bounds
Remove the item at the selected index and returns it.
Panic of the index is out of bounds
Remove the item at the selected index and returns it . Panic of the index is out of bounds
pub fn remove(&self, index: usize) -> D {
        use winapi::um::winuser::LB_DELETESTRING;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        wh::send_message(handle, LB_DELETESTRING, index as WPARAM, 0);
        let mut col_ref = self.collection.borrow_mut();
        col_ref.remove(index)
    }
pub fn remove ( & self , index : usize ) -> D { use winapi :: um :: winuser :: LB_DELETESTRING ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; wh :: send_message ( handle , LB_DELETESTRING , index as WPARAM , 0 ) ; let mut col_ref = self . collection . borrow_mut ( ) ; col_ref . remove ( index ) }
Remove the item at the selected index and returns it.
Remove the item at the selected index and returns it .
&self
index
usize