[][src]Struct rustc_ap_rustc_data_structures::fingerprint::Fingerprint

pub struct Fingerprint(_, _);

Methods

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 Display 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<'a> SpecializedDecoder<Fingerprint> for Decoder<'a>[src]

impl SpecializedEncoder<Fingerprint> for Encoder[src]

impl StableHasherResult for Fingerprint[src]

impl StructuralEq for Fingerprint[src]

impl StructuralPartialEq for Fingerprint[src]

impl UseSpecializedDecodable for Fingerprint[src]

impl UseSpecializedEncodable for Fingerprint[src]

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
[src]

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[src]

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.