diff --git a/papergrid/src/config/position.rs b/papergrid/src/config/position.rs index 3996453c..3c9c1836 100644 --- a/papergrid/src/config/position.rs +++ b/papergrid/src/config/position.rs @@ -10,4 +10,5 @@ /// │ 1 │ 2 │ /// └───┴───┘ /// ``` +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord)] pub type Position = (usize, usize); diff --git a/tabled/src/settings/object/cell.rs b/tabled/src/settings/object/cell.rs index 7bfbdf95..693624bc 100644 --- a/tabled/src/settings/object/cell.rs +++ b/tabled/src/settings/object/cell.rs @@ -17,7 +17,7 @@ use crate::{ /// ``` /// /// [`Table`]: crate::Table -#[derive(Debug, Default, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord)] pub struct Cell(usize, usize); impl Cell {