Struct rustc_hir::intravisit::nested_filter::None
source · pub struct None(());
Expand description
Do not visit any nested things. When you add a new “non-nested” thing, you will want to audit such uses to see if they remain valid.
Use this if you are only walking some particular kind of tree (i.e., a type, or fn signature) and you don’t want to thread a HIR map around.
Tuple Fields§
§0: ()
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for None
impl Send for None
impl Sync for None
impl Unpin for None
impl UnwindSafe for None
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
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: 0 bytes