Merge pull request #185 from daxpedda/pub-hash-layout
Make `Element::hash_layout` public.
This commit is contained in:
commit
3a00f3398c
@ -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…
Reference in New Issue
Block a user