Skip to main content

textlane_html/models/
visit.rs

1/// What `visit_elements` does after its visitor sees an element.
2#[derive(Clone, Copy, Debug, PartialEq, Eq)]
3pub enum Visit {
4    /// Go on into the element's children.
5    Continue,
6    /// Leave the element's children unvisited.
7    Skip,
8    /// Visit nothing more.
9    Stop,
10}