tentatively seems to be working.
This commit is contained in:
@@ -5,7 +5,7 @@ use std::any::Any;
|
||||
use std::fmt::Debug;
|
||||
|
||||
pub trait ContextElement:
|
||||
Debug + Walkable + Renderable + Loopable + IntoBoxedContextElement
|
||||
Debug + Walkable + Renderable + Loopable + IntoBoxedContextElement + CompareContextElement
|
||||
{
|
||||
}
|
||||
|
||||
@@ -32,6 +32,8 @@ pub trait Loopable {
|
||||
|
||||
pub trait CompareContextElement {
|
||||
fn to_any(&self) -> &dyn Any;
|
||||
|
||||
fn equals(&self, other: &dyn ContextElement) -> bool;
|
||||
}
|
||||
|
||||
pub trait IntoBoxedContextElement {
|
||||
|
||||
Reference in New Issue
Block a user