Trait clippy_utils::visitors::internal::Continue

source ·
pub trait Continue {
    // Required method
    fn descend(&self) -> bool;
}
Expand description

Trait for visitor functions to control whether or not to descend to child nodes. Implemented for only two types. () always descends. Descend allows controlled descent.

Required Methods§

source

fn descend(&self) -> bool

Implementations on Foreign Types§

source§

impl Continue for ()

source§

fn descend(&self) -> bool

Implementors§