[]Struct rustc_ap_rustc_data_structures::fingerprint::Fingerprint

pub struct Fingerprint(_, _);

Methods

impl Fingerprint

pub const ZERO: Fingerprint

pub fn from_smaller_hash(hash: u64) -> Fingerprint

pub fn to_smaller_hash(&self) -> u64

pub fn as_value(&self) -> (u64, u64)

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

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

pub fn to_hex(&self) -> String

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

pub fn decode_opaque(decoder: &mut Decoder) -> Result<Fingerprint, String>

Trait Implementations

impl Clone for Fingerprint

impl Copy for Fingerprint

impl Debug for Fingerprint

impl Display for Fingerprint

impl Eq for Fingerprint

impl Hash for Fingerprint

impl<CTX> HashStable<CTX> for Fingerprint

impl Ord for Fingerprint

impl PartialEq<Fingerprint> for Fingerprint

impl PartialOrd<Fingerprint> for Fingerprint

impl<'a> SpecializedDecoder<Fingerprint> for Decoder<'a>

impl SpecializedEncoder<Fingerprint> for Encoder

impl StableHasherResult for Fingerprint

impl StructuralEq for Fingerprint

impl StructuralPartialEq for Fingerprint

impl UseSpecializedDecodable for Fingerprint

impl UseSpecializedEncodable for Fingerprint

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.