diff options
Diffstat (limited to 'src/app/panel_id.rs')
-rw-r--r-- | src/app/panel_id.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/panel_id.rs b/src/app/panel_id.rs index ac16b5d..2b53875 100644 --- a/src/app/panel_id.rs +++ b/src/app/panel_id.rs @@ -1,5 +1,8 @@ + +/// The unique identifiant of a panel #[derive(Debug, Clone, Copy, PartialEq)] pub struct PanelId(usize); + impl From<usize> for PanelId { fn from(u: usize) -> Self { Self(u) |