diff --git a/leftwm-layouts/src/geometry/direction.rs b/leftwm-layouts/src/geometry/direction.rs index a48198b..81f4d65 100644 --- a/leftwm-layouts/src/geometry/direction.rs +++ b/leftwm-layouts/src/geometry/direction.rs @@ -1,7 +1,9 @@ use super::Rect; +use serde::{Deserialize, Serialize}; + /// Represents the four different direction where we can search for a neighbor -#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)] pub enum Direction { #[default] /// Search for neighbor starting from the top left of the current rect