Skip to main content

FilterOutput

Trait FilterOutput 

Source
pub trait FilterOutput: Output {
    // Required methods
    fn begin_filter(&self);
    fn filter(&self, node: &Node) -> bool;
    fn end_filter(&self);
}
Expand description

The where sub-graph’s output. Filter operators have no fetch; a fetch through the sub-graph asks filter whether each node passes.

Required Methods§

Source

fn begin_filter(&self)

Source

fn filter(&self, node: &Node) -> bool

Source

fn end_filter(&self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§