Trait CreateConvexChecker

Source
pub trait CreateConvexChecker<G>: ConvexChecker {
    // Required methods
    fn new_convex_checker(graph: G) -> Self;
    fn graph(&self) -> &G;
}
Expand description

Trait to create a ConvexChecker for a given graph.

Required Methods§

Source

fn new_convex_checker(graph: G) -> Self

Create a ConvexChecker for the given graph.

Source

fn graph(&self) -> &G

The graph on which the ConvexChecker is defined.

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§