pub fn uninherited_columns(&self) -> Vec<&Column> {
        let mut included = Vec::new();
        let mut uninherited_columns = Vec::new();
        for c in &self.columns {
            if !c.is_inherited && !included.contains(&&c.name) {
                uninherited_columns.push(c);
                included.push(&c.name);
            }
        }
        uninherited_columns.sort_by(|a, b| a.name.cmp(&b.name));
        uninherited_columns
    }
/// return all the columns of this table excluding the inherited columns
return all the columns of this table excluding the inherited columns
return all the columns of this table excluding the inherited columns
pub fn uninherited_columns(&self) -> Vec<&Column> {
        let mut included = Vec::new();
        let mut uninherited_columns = Vec::new();
        for c in &self.columns {
            if !c.is_inherited && !included.contains(&&c.name) {
                uninherited_columns.push(c);
                included.push(&c.name);
            }
        }
        uninherited_columns.sort_by(|a, b| a.name.cmp(&b.name));
        uninherited_columns
    }
pub fn uninherited_columns ( & self ) -> Vec < & Column > { let mut included = Vec :: new ( ) ; let mut uninherited_columns = Vec :: new ( ) ; for c in & self . columns { if ! c . is_inherited && ! included . contains ( & & c . name ) { uninherited_columns . push ( c ) ; included . push ( & c . name ) ; } } uninherited_columns . sort_by ( | a , b | a . name . cmp ( & b . name ) ) ; uninherited_columns }
return all the columns of this table excluding the inherited columns
return all the columns of this table excluding the inherited columns
&self
&self