Make Hasher opaque

This commit is contained in:
Héctor Ramón Jiménez 2019-08-30 01:54:41 +02:00
parent e84e0b876c
commit 2ebe09dacb
12 changed files with 36 additions and 20 deletions

View file

@ -83,7 +83,7 @@ pub trait Widget<Message, Renderer>: std::fmt::Debug {
/// [`Widget`]: trait.Widget.html
/// [`Layout`]: ../struct.Layout.html
/// [`Text`]: text/struct.Text.html
fn hash(&self, state: &mut Hasher);
fn hash_layout(&self, state: &mut Hasher);
/// Processes a runtime [`Event`].
///