summaryrefslogtreecommitdiffstats
path: root/native/src/widget/column.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/column.rs')
-rw-r--r--native/src/widget/column.rs23
1 files changed, 2 insertions, 21 deletions
diff --git a/native/src/widget/column.rs b/native/src/widget/column.rs
index 66ed5e23..f161d1f2 100644
--- a/native/src/widget/column.rs
+++ b/native/src/widget/column.rs
@@ -1,14 +1,12 @@
//! Distribute content vertically.
-use std::hash::Hash;
-
use crate::event::{self, Event};
use crate::layout;
use crate::mouse;
use crate::overlay;
use crate::renderer;
use crate::{
- Alignment, Clipboard, Element, Hasher, Layout, Length, Padding, Point,
- Rectangle, Shell, Widget,
+ Alignment, Clipboard, Element, Layout, Length, Padding, Point, Rectangle,
+ Shell, Widget,
};
use std::u32;
@@ -199,23 +197,6 @@ where
}
}
- fn hash_layout(&self, state: &mut Hasher) {
- struct Marker;
- std::any::TypeId::of::<Marker>().hash(state);
-
- self.width.hash(state);
- self.height.hash(state);
- self.max_width.hash(state);
- self.max_height.hash(state);
- self.align_items.hash(state);
- self.spacing.hash(state);
- self.padding.hash(state);
-
- for child in &self.children {
- child.widget.hash_layout(state);
- }
- }
-
fn overlay(
&mut self,
layout: Layout<'_>,