pub fn new(cols: &[&str]) -> Self {
        let cols: Vec<_> = cols.iter().map(|col| CompletionCell::new(col)).collect();
        CompletionResult {
            columns: cols,
        }
    }
/// Create a new completion result.
Create a new completion result.
Create a new completion result .
pub fn new(cols: &[&str]) -> Self {
        let cols: Vec<_> = cols.iter().map(|col| CompletionCell::new(col)).collect();
        CompletionResult {
            columns: cols,
        }
    }
pub fn new ( cols : & [ & str ] ) -> Self { let cols : Vec < _ > = cols . iter ( ) . map ( | col | CompletionCell :: new ( col ) ) . collect ( ) ; CompletionResult { columns : cols , } }
Create a new completion result.
Create a new completion result .
cols
&[&str]