[−][src]Struct rustc_data_structures::svh::Svh
Methods
impl Svh[src]
pub fn new(hash: u64) -> Svh[src]
Creates 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 to_string(&self) -> String[src]
Trait Implementations
impl<T> HashStable<T> for Svh[src]
fn hash_stable<W: StableHasherResult>(
&self,
ctx: &mut T,
hasher: &mut StableHasher<W>
)[src]
&self,
ctx: &mut T,
hasher: &mut StableHasher<W>
)
impl Eq for Svh[src]
impl Copy for Svh[src]
impl PartialEq<Svh> for Svh[src]
impl Clone for Svh[src]
fn clone(&self) -> Svh[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for Svh[src]
impl Debug for Svh[src]
impl Hash for Svh[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Encodable for Svh[src]
impl Decodable for Svh[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Erased for T[src]
impl<T> Send for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From for T[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'_ mut I
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Encodable for T where
T: UseSpecializedEncodable + ?Sized, [src]
T: UseSpecializedEncodable + ?Sized,
impl<T> Decodable for T where
T: UseSpecializedDecodable, [src]
T: UseSpecializedDecodable,