diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 09:24:20 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 09:24:20 +0300 |
| commit | ab7d81aae00e88395f85b629489512b4a7bac064 (patch) | |
| tree | 239f976094a3454022754e218fb71c6fceee8431 /src/layout/mod.rs | |
| parent | e24723125f5ef91983735043fba893a940469686 (diff) | |
| download | niri-ab7d81aae00e88395f85b629489512b4a7bac064.tar.gz niri-ab7d81aae00e88395f85b629489512b4a7bac064.tar.bz2 niri-ab7d81aae00e88395f85b629489512b4a7bac064.zip | |
layout: Reduce field visibility
The outside code isn't supposed to mess with the fields.
Diffstat (limited to 'src/layout/mod.rs')
| -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 7c4d4618..05cbdccd 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -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)] |
