Trait IBranchFilter

Source
pub trait IBranchFilter:
    Debug
    + Clone
    + PartialEq
    + Display
    + Eq
    + Hash {
    // Provided method
    fn strengthen(self) -> Self { ... }
}
Expand description

Describes the user branching filter This should be implemented as an enum describing all potential branching operations

Provided Methods§

Source

fn strengthen(self) -> Self

Optional strengthening function that can translate between branch filter types Example could be an EdgeFlow(Edge, 0) => Forbid(Edge) Where the latter can be applied in the pricing problem

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§