summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native/src/element.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/native/src/element.rs b/native/src/element.rs
index ae47e893..276f7614 100644
--- a/native/src/element.rs
+++ b/native/src/element.rs
@@ -242,7 +242,10 @@ where
.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);
}
}