add derive Debug to some things

This commit is contained in:
Ken Sedgwick
2025-02-05 14:24:57 -08:00
parent 2ddc53faa5
commit 201cfb2db1
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ use notedeck::NoteCache;
use std::iter::Iterator; use std::iter::Iterator;
use tracing::warn; use tracing::warn;
#[derive(Clone)] #[derive(Clone, Debug)]
pub struct Column { pub struct Column {
router: Router<Route>, router: Router<Route>,
} }
@@ -29,7 +29,7 @@ impl Column {
} }
} }
#[derive(Default)] #[derive(Default, Debug)]
pub struct Columns { pub struct Columns {
/// Columns are simply routers into settings, timelines, etc /// Columns are simply routers into settings, timelines, etc
columns: Vec<Column>, columns: Vec<Column>,

View File

@@ -229,7 +229,7 @@ impl Route {
// TODO: add this to egui-nav so we don't have to deal with returning // TODO: add this to egui-nav so we don't have to deal with returning
// and navigating headaches // and navigating headaches
#[derive(Clone)] #[derive(Clone, Debug)]
pub struct Router<R: Clone> { pub struct Router<R: Clone> {
routes: Vec<R>, routes: Vec<R>,
pub returning: bool, pub returning: bool,