Implement buggy tree layouting

This commit is contained in:
Joscha 2022-06-13 22:09:12 +02:00
parent 021d5a8943
commit 0f7d291612
4 changed files with 220 additions and 34 deletions

View file

@ -7,7 +7,7 @@ use async_trait::async_trait;
use chrono::{DateTime, Utc};
pub trait Msg {
type Id: Hash + Eq;
type Id: Clone + Hash + Eq;
fn id(&self) -> Self::Id;
fn parent(&self) -> Option<Self::Id>;