GraphMarker

Trait GraphMarker 

Source
pub trait GraphMarker:
    'static
    + Clone
    + Send
    + Sync {
    const NAME: &'static str;
}
Expand description

Marker trait for graph types.

Required Associated Constants§

Source

const NAME: &'static str

The name of this graph type for runtime queries.

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§

Source§

impl GraphMarker for BipartiteGraph

Source§

const NAME: &'static str = "BipartiteGraph"

Source§

impl GraphMarker for PlanarGraph

Source§

const NAME: &'static str = "PlanarGraph"

Source§

impl GraphMarker for SimpleGraph

Source§

const NAME: &'static str = "SimpleGraph"

Source§

impl GraphMarker for UnitDiskGraph

Source§

const NAME: &'static str = "UnitDiskGraph"