diff --git a/src/layout/mod.rs b/src/layout/mod.rs index e72da2d0..3e6affb1 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -100,7 +100,7 @@ pub enum ConfigureIntent { pub trait LayoutElement { /// Type that can be used as a unique ID of this element. - type Id: PartialEq + std::fmt::Debug; + type Id: PartialEq + std::fmt::Debug + Clone; /// Unique ID of this element. fn id(&self) -> &Self::Id;