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§
Sourcefn new_convex_checker(graph: G) -> Self
fn new_convex_checker(graph: G) -> Self
Create a ConvexChecker for the given graph.
Sourcefn graph(&self) -> &G
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.