Trait rustc_middle::ich::hcx::StableHashingContextProvider [−][src]
pub trait StableHashingContextProvider<'a> {
fn get_stable_hashing_context(&self) -> StableHashingContext<'a>;
}Expand description
Something that can provide a stable hashing context.
Required methods
fn get_stable_hashing_context(&self) -> StableHashingContext<'a>[src]
Implementations on Foreign Types
impl<'a, 'b, T: StableHashingContextProvider<'a>> StableHashingContextProvider<'a> for &'b T[src]
impl<'a, 'b, T: StableHashingContextProvider<'a>> StableHashingContextProvider<'a> for &'b T[src]fn get_stable_hashing_context(&self) -> StableHashingContext<'a>[src]
impl<'a, 'b, T: StableHashingContextProvider<'a>> StableHashingContextProvider<'a> for &'b mut T[src]
impl<'a, 'b, T: StableHashingContextProvider<'a>> StableHashingContextProvider<'a> for &'b mut T[src]fn get_stable_hashing_context(&self) -> StableHashingContext<'a>[src]
Implementors
impl<'a> StableHashingContextProvider<'a> for StableHashingContext<'a>[src]
impl<'a> StableHashingContextProvider<'a> for StableHashingContext<'a>[src]fn get_stable_hashing_context(&self) -> StableHashingContext<'a>[src]
impl<'tcx> StableHashingContextProvider<'tcx> for TyCtxt<'tcx>[src]
impl<'tcx> StableHashingContextProvider<'tcx> for TyCtxt<'tcx>[src]