1
2
3
4
5
6
7
8
9
use crate::model::field;
use crate::traits::named::Named;

pub trait Indexable: Named {

    fn index(&self) -> Option<&field::Index>;

    fn set_index(&mut self, index: field::Index);
}