diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-24 18:02:13 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-24 18:02:13 +0400 |
| commit | 324c1efd04622d39a1c66d67378c38d0ff5d07f5 (patch) | |
| tree | c9ee72b7761402d8a2987742bead7b2c52da5582 | |
| parent | 99e75b95b7ae34d64d26702f8ace6364279f5413 (diff) | |
| download | niri-324c1efd04622d39a1c66d67378c38d0ff5d07f5.tar.gz niri-324c1efd04622d39a1c66d67378c38d0ff5d07f5.tar.bz2 niri-324c1efd04622d39a1c66d67378c38d0ff5d07f5.zip | |
Remove Clone bound from LayoutElement
It is no longer necessary.
| -rw-r--r-- | src/layout/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index b5cb7178..c78fa201 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -54,7 +54,7 @@ mod focus_ring; mod monitor; mod workspace; -pub trait LayoutElement: SpaceElement + PartialEq + Clone { +pub trait LayoutElement: SpaceElement + PartialEq { fn request_size(&self, size: Size<i32, Logical>); fn request_fullscreen(&self, size: Size<i32, Logical>); fn min_size(&self) -> Size<i32, Logical>; |
