Skip to main content

GraphTypes

Trait GraphTypes 

Source
pub trait GraphTypes:
    'static
    + Sized
    + Debug
    + Clone
    + Eq
    + Hash {
    type Binder: Debug + Clone + Eq + Hash;
    type Label: Debug + Clone + Eq + Hash;
    type NodeId: Debug + Clone + Eq + Hash;
    type EdgeId: Debug + Clone + Eq + Hash;
}
Expand description

The collected types for a graph.

Required Associated Types§

Source

type Binder: Debug + Clone + Eq + Hash

A Binder (name in a graph pattern) for a graph.

Source

type Label: Debug + Clone + Eq + Hash

A Label for a graph.

Source

type NodeId: Debug + Clone + Eq + Hash

A Node for a graph.

Source

type EdgeId: Debug + Clone + Eq + Hash

An Edge for a graph.

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§