This crate provides mainly the trait
Some which can be used on shared
reference types. (
Arc). It enables the users to test identity
of objects. It's analogous to
PartialEq, which tests equality instead.
Additionally, this crate provides
RefHash trait, which is used for hashing
RefCmp wrapper struct, which implements
Hash by delegating to
RefHash traits. This is mainly
useful if one wants to store objects in
HashSet or similar data structure,
This crate is
Wrapper for types to make their equality operations compare pointers.
Hashes the pointer to the object instead of the object itself.
Allows to test identity of objects.