Struct rustc::hir::svh::Svh
[−]
[src]
pub struct Svh {
// some fields omitted
}Unstable (
rustc_private)Methods
impl Svh[src]
fn new(hash: u64) -> Svh
Unstable (
rustc_private)Create 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.
fn as_u64(&self) -> u64
fn to_string(&self) -> String
Trait Implementations
impl Hash for Svh[src]
fn hash<H>(&self, state: &mut H) where H: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Display for Svh[src]
Derived Implementations
impl Debug for Svh[src]
impl Eq for Svh[src]
impl PartialEq for Svh[src]
fn eq(&self, __arg_0: &Svh) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Svh) -> bool
This method tests for !=.
impl Clone for Svh[src]
fn clone(&self) -> Svh
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more