devela/data/codec/hash/
reexports.rs

1// devela::data::codec::hash::reexports
2//
3//! Reexported items from `core`.
4//
5
6use crate::reexport;
7
8reexport! { rust: core::hash,
9    doc: "A trait for creating instances of [`Hasher`].",
10    @BuildHasher as HasherBuild
11}
12reexport! { rust: core::hash,
13    doc: "Create a default [`HasherBuild`] instance for `T:`[`Hasher`]` + `[`Default`] types.",
14    @BuildHasherDefault as HasherBuildDefault
15}
16reexport! { rust: core::hash,
17    doc: "A trait for hashing an arbitrary stream of bytes.",
18    Hasher
19}
20reexport! { rust: std::hash,
21    doc: "The default state for [`HashMapStd`][crate::HashMapStd].",
22    RandomState
23}
24
25// NOTE: the trait and the derive macro have the same name:
26// reexport! { rust: core::hash, doc: "A hashable type.", Hash }
27/// <span class='stab portability' title='re-exported from rust&#39;s `core`'>`core`</span>
28pub use crate::_core::hash::Hash;