Struct rustc::ty::util::TypeIdHasher
[−]
[src]
pub struct TypeIdHasher<'a, 'gcx: 'a + 'tcx, 'tcx: 'a, W> { /* fields omitted */ }🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<'a, 'gcx, 'tcx, W> TypeIdHasher<'a, 'gcx, 'tcx, W> where
W: StableHasherResult, [src]
impl<'a, 'gcx, 'tcx, W> TypeIdHasher<'a, 'gcx, 'tcx, W> where
W: StableHasherResult, pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self[src]
pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn finish(self) -> W[src]
pub fn finish(self) -> W🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn hash<T: Hash>(&mut self, x: T)[src]
pub fn hash<T: Hash>(&mut self, x: T)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'a, 'gcx, 'tcx, W> TypeVisitor<'tcx> for TypeIdHasher<'a, 'gcx, 'tcx, W> where
W: StableHasherResult, [src]
impl<'a, 'gcx, 'tcx, W> TypeVisitor<'tcx> for TypeIdHasher<'a, 'gcx, 'tcx, W> where
W: StableHasherResult, fn visit_ty(&mut self, ty: Ty<'tcx>) -> bool[src]
fn visit_ty(&mut self, ty: Ty<'tcx>) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn visit_region(&mut self, r: Region<'tcx>) -> bool[src]
fn visit_region(&mut self, r: Region<'tcx>) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn visit_binder<T: TypeFoldable<'tcx>>(&mut self, x: &Binder<T>) -> bool[src]
fn visit_binder<T: TypeFoldable<'tcx>>(&mut self, x: &Binder<T>) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> bool[src]
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl<'a, 'gcx, 'tcx, W> !Send for TypeIdHasher<'a, 'gcx, 'tcx, W>
impl<'a, 'gcx, 'tcx, W> !Send for TypeIdHasher<'a, 'gcx, 'tcx, W>impl<'a, 'gcx, 'tcx, W> !Sync for TypeIdHasher<'a, 'gcx, 'tcx, W>
impl<'a, 'gcx, 'tcx, W> !Sync for TypeIdHasher<'a, 'gcx, 'tcx, W>