Skip to main content

BranchStep

Trait BranchStep 

Source
pub trait BranchStep: Step {
    // Required method
    fn branches(&self) -> Vec<&dyn Traversal>;
}
Expand description

Trait for branch steps

Required Methods§

Source

fn branches(&self) -> Vec<&dyn Traversal>

Get branch options

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§