Files
merkle.rs/docs/implementors/merkle/trait.Hashable.js
Frederic Jacobs 249234caca Adopting Hashable trait.
* Remove useless T: AsRef<[u8]> constraint in Lemma.

* Introduce a custom `Hashable` trait instead of requiring `AsRef<[u8]>`.

Since not every type can implement `AsRef<[u8]>`,
this commit removes that constraint, and requires instead
that values implement the `Hashable` trait.

A default instance is provided for types that already implements `AsRef<[u8]>`.

* Update documentation.

* Add a Protobuf test with custom struct and Hashable impl.
2016-12-20 10:23:07 +01:00

11 lines
275 B
JavaScript

(function() {var implementors = {};
implementors["merkle"] = [];
if (window.register_implementors) {
window.register_implementors(implementors);
} else {
window.pending_implementors = implementors;
}
})()