Struct rustc_data_structures::svh::Svh  [−][src]
pub struct Svh { /* fields omitted */ }Methods
impl Svh[src] 
impl Svhpub fn new(hash: u64) -> Svh[src] 
pub fn new(hash: u64) -> SvhCreate a new Svh given the hash. If you actually want to
compute the SVH from some HIR, you want the calculate_svh
function found in librustc_incremental.
pub fn as_u64(&self) -> u64[src] 
pub fn as_u64(&self) -> u64pub fn to_string(&self) -> String[src] 
pub fn to_string(&self) -> StringTrait Implementations
impl Copy for Svh[src] 
impl Copy for Svhimpl Clone for Svh[src] 
impl Clone for Svhfn clone(&self) -> Svh[src] 
fn clone(&self) -> SvhReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Svh[src] 
impl PartialEq for Svhfn eq(&self, other: &Svh) -> bool[src] 
fn eq(&self, other: &Svh) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Svh) -> bool[src] 
fn ne(&self, other: &Svh) -> boolThis method tests for !=.
impl Eq for Svh[src] 
impl Eq for Svhimpl Debug for Svh[src] 
impl Debug for Svhfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for Svh[src] 
impl Hash for Svhfn hash<H>(&self, state: &mut H) where
    H: Hasher, [src] 
fn hash<H>(&self, state: &mut H) where
    H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src] 
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Display for Svh[src] 
impl Display for Svhfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Encodable for Svh[src] 
impl Encodable for Svhimpl Decodable for Svh[src] 
impl Decodable for Svhimpl<T> HashStable<T> for Svh[src] 
impl<T> HashStable<T> for Svhfn hash_stable<W: StableHasherResult>(
    &self, 
    ctx: &mut T, 
    hasher: &mut StableHasher<W>
)[src] 
fn hash_stable<W: StableHasherResult>(
    &self, 
    ctx: &mut T, 
    hasher: &mut StableHasher<W>
)