layout: Reduce field visibility

The outside code isn't supposed to mess with the fields.
This commit is contained in:
Ivan Molodetskikh
2024-10-10 09:24:20 +03:00
parent e24723125f
commit ab7d81aae0
7 changed files with 41 additions and 29 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ pub type LayoutElementRenderSnapshot =
#[derive(Debug, Clone, Copy)]
pub struct InteractiveResizeData {
pub edges: ResizeEdge,
pub(self) edges: ResizeEdge,
}
#[derive(Debug, Clone, Copy)]