Struct rustc_hir::intravisit::DeepVisitor
source · [−]pub struct DeepVisitor<'v, V> {
visitor: &'v mut V,
}Fields
visitor: &'v mut VImplementations
sourceimpl<'v, V> DeepVisitor<'v, V>
impl<'v, V> DeepVisitor<'v, V>
Trait Implementations
sourceimpl<'v, 'hir, V> ItemLikeVisitor<'hir> for DeepVisitor<'v, V> where
V: Visitor<'hir>,
impl<'v, 'hir, V> ItemLikeVisitor<'hir> for DeepVisitor<'v, V> where
V: Visitor<'hir>,
fn visit_item(&mut self, item: &'hir Item<'hir>)
fn visit_trait_item(&mut self, trait_item: &'hir TraitItem<'hir>)
fn visit_impl_item(&mut self, impl_item: &'hir ImplItem<'hir>)
fn visit_foreign_item(&mut self, foreign_item: &'hir ForeignItem<'hir>)
Auto Trait Implementations
impl<'v, V> RefUnwindSafe for DeepVisitor<'v, V> where
V: RefUnwindSafe,
impl<'v, V> Send for DeepVisitor<'v, V> where
V: Send,
impl<'v, V> Sync for DeepVisitor<'v, V> where
V: Sync,
impl<'v, V> Unpin for DeepVisitor<'v, V>
impl<'v, V> !UnwindSafe for DeepVisitor<'v, V>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 8 bytes