Struct rustc_hir::intravisit::ErasedMap [−][src]
pub struct ErasedMap<'hir>(&'hir dyn Map<'hir>);
Expand description
An erased version of Map<'hir>
, using dynamic dispatch.
NOTE: This type is effectively only usable with NestedVisitorMap::None
.
Tuple Fields
0: &'hir dyn Map<'hir>
Trait Implementations
Retrieves the Node
corresponding to id
, returning None
if cannot be found.
Auto Trait Implementations
impl<'hir> !RefUnwindSafe for ErasedMap<'hir>
impl<'hir> !UnwindSafe for ErasedMap<'hir>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes