pub fn cmp_id(
        _hash_a: &FileHash,
        a: &Variant,
        _hash_b: &FileHash,
        b: &Variant,
    ) -> cmp::Ordering {
        a.discr_value.cmp(&b.discr_value)
    }
/// Compare the identifying information of two types.
///
/// Variants are considered equal if the discriminant values are equal.
///
/// This can be used to sort, and to determine if two types refer to the same definition
/// (even if there are differences in the definitions).
// TODO: compare discriminant member too
Compare the identifying information of two types.
Variants are considered equal if the discriminant values are equal.

This can be used to sort, and to determine if two types refer to the same definition
(even if there are differences in the definitions).
TODO: compare discriminant member too
Compare the identifying information of two types . Variants are considered equal if the discriminant values are equal . This can be used to sort and to determine if two types refer to the same definition ( even if there are differences in the definitions ) . TODO : compare discriminant member too
pub fn cmp_id(
        _hash_a: &FileHash,
        a: &Variant,
        _hash_b: &FileHash,
        b: &Variant,
    ) -> cmp::Ordering {
        a.discr_value.cmp(&b.discr_value)
    }
pub fn cmp_id ( _hash_a : & FileHash , a : & Variant , _hash_b : & FileHash , b : & Variant , ) -> cmp :: Ordering { a . discr_value . cmp ( & b . discr_value ) }
Compare the identifying information of two types.
Compare the identifying information of two types .
_hash_a
&FileHash
a
&Variant
_hash_b
&FileHash
b
&Variant
_hash_a
&FileHash
a
&Variant
_hash_b
&FileHash
b
&Variant