#288 Renamed XXXWidget to Marker
This commit is contained in:
parent
f7d7ab1ba9
commit
41f6a325e9
@ -234,8 +234,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct ButtonWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<ButtonWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
self.content.hash_layout(state);
|
self.content.hash_layout(state);
|
||||||
|
@ -205,8 +205,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct CheckboxWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<CheckboxWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.label.hash(state);
|
self.label.hash(state);
|
||||||
}
|
}
|
||||||
|
@ -190,8 +190,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct ColumnWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<ColumnWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
self.height.hash(state);
|
self.height.hash(state);
|
||||||
|
@ -203,8 +203,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct ContainerWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<ContainerWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.padding.hash(state);
|
self.padding.hash(state);
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
|
@ -102,7 +102,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
std::any::TypeId::of::<Image>().hash(state);
|
struct Marker;
|
||||||
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.handle.hash(state);
|
self.handle.hash(state);
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
|
@ -597,8 +597,8 @@ where
|
|||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
struct PaneGridWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<PaneGridWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
self.height.hash(state);
|
self.height.hash(state);
|
||||||
|
@ -114,8 +114,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct ProgressBarWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<ProgressBarWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
self.height.hash(state);
|
self.height.hash(state);
|
||||||
|
@ -174,8 +174,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct RadioWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<RadioWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.label.hash(state);
|
self.label.hash(state);
|
||||||
}
|
}
|
||||||
|
@ -191,8 +191,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct RowWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<RowWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
self.height.hash(state);
|
self.height.hash(state);
|
||||||
|
@ -311,8 +311,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct ScrollableWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<ScrollableWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.height.hash(state);
|
self.height.hash(state);
|
||||||
self.max_height.hash(state);
|
self.max_height.hash(state);
|
||||||
|
@ -205,8 +205,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
struct SliderWidget;
|
struct Marker;
|
||||||
std::any::TypeId::of::<SliderWidget>().hash(state);
|
std::any::TypeId::of::<Marker>().hash(state);
|
||||||
|
|
||||||
self.width.hash(state);
|
self.width.hash(state);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user