Make Element::hash_layout
public.
This commit is contained in:
parent
5d16f431b3
commit
71c108e0e1
@ -242,7 +242,10 @@ where
|
|||||||
.draw(renderer, defaults, layout, cursor_position)
|
.draw(renderer, defaults, layout, cursor_position)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn hash_layout(&self, state: &mut Hasher) {
|
/// Computes the _layout_ hash of the [`Element`].
|
||||||
|
///
|
||||||
|
/// [`Element`]: struct.Element.html
|
||||||
|
pub fn hash_layout(&self, state: &mut Hasher) {
|
||||||
self.widget.hash_layout(state);
|
self.widget.hash_layout(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user