Implement buggy tree layouting
This commit is contained in:
parent
021d5a8943
commit
0f7d291612
4 changed files with 220 additions and 34 deletions
|
|
@ -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>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue