Trait PartialOrdGraph

Source
pub trait PartialOrdGraph:
    BaseGraph
    + Eq
    + PartialOrd {
    // Provided methods
    fn is_subgraph(&self, other: &Self) -> bool { ... }
    fn is_supergraph(&self, other: &Self) -> bool { ... }
}
Expand description

Partial order graph trait.

Provided Methods§

Source

fn is_subgraph(&self, other: &Self) -> bool

Checks if self is a subgraph of other.

Source

fn is_supergraph(&self, other: &Self) -> bool

Checks if self is a supergraph of other.

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§