Skip to main content

## Continue

# Trait 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§

Source§

### impl Continue for Descend