Enum bip_util::sha::XorRep [] [src]

pub enum XorRep {
    Diff,
    Same,
}

Representation of a bit after a xor operation.

Variants

Bits were equal (1).

Bits were not equal (0).

Trait Implementations

impl Copy for XorRep
[src]

impl Clone for XorRep
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for XorRep
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for XorRep
[src]

impl Hash for XorRep
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for XorRep
[src]

Formats the value using the given formatter.