[][src]Struct rustc_data_structures::fingerprint::Fingerprint

pub struct Fingerprint(u64, u64);


impl Fingerprint[src]

pub const ZERO: Fingerprint[src]

pub fn from_smaller_hash(hash: u64) -> Fingerprint[src]

pub fn to_smaller_hash(&self) -> u64[src]

pub fn as_value(&self) -> (u64, u64)[src]

pub fn combine(self, other: Fingerprint) -> Fingerprint[src]

pub fn combine_commutative(self, other: Fingerprint) -> Fingerprint[src]

pub fn to_hex(&self) -> String[src]

pub fn encode_opaque(&self, encoder: &mut Encoder) -> EncodeResult[src]

pub fn decode_opaque(decoder: &mut Decoder<'_>) -> Result<Fingerprint, String>[src]

Trait Implementations

impl Clone for Fingerprint[src]

impl Copy for Fingerprint[src]

impl Debug for Fingerprint[src]

impl<D: Decoder> Decodable<D> for Fingerprint[src]

impl Display for Fingerprint[src]

impl<E: Encoder> Encodable<E> for Fingerprint[src]

impl Eq for Fingerprint[src]

impl Hash for Fingerprint[src]

impl<CTX> HashStable<CTX> for Fingerprint[src]

impl Ord for Fingerprint[src]

impl PartialEq<Fingerprint> for Fingerprint[src]

impl PartialOrd<Fingerprint> for Fingerprint[src]

impl StableHasherResult for Fingerprint[src]

impl StructuralEq for Fingerprint[src]

impl StructuralPartialEq for Fingerprint[src]

Auto Trait Implementations

impl RefUnwindSafe for Fingerprint

impl Send for Fingerprint

impl Sync for Fingerprint

impl Unpin for Fingerprint

impl UnwindSafe for Fingerprint

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<'a, T> Captures<'a> for T where
    T: ?Sized

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.